barrier.cpp |
|
657 |
barrier.h |
Barrier implements a barrier synchronization primitive. wait() will
indicate how many threads to synchronize; each thread needing
synchronization should call sync(). When sync() returns, the barrier
is reset to zero, and the m_syncs counter is incremented. m_syncs is a
counter to ensure that wait() can be called after a sync() even if the
previously sleeping threads have not awoken.)
|
928 |
info.txt |
|
167 |
rwlock.cpp |
|
1244 |
rwlock.h |
A read-write lock. Writers are favored.
|
803 |
semaphore.cpp |
|
709 |
semaphore.h |
|
538 |
thread_pool.cpp |
For large machines don't create too many threads, unless
explicitly asked to by the caller.
|
2009 |
thread_pool.h |
Return an instance to a shared thread pool
|
2059 |