| Tanl Linguistic Pipeline |
Condition without the additional lock required by pthread_cond_wait(). More...
#include <Lock.h>
Public Member Functions | |
| SimpleCondition (SimpleCondition const &) | |
| void | notify () |
| bool | wait () |
Public Attributes | |
| ::pthread_mutex_t | _c |
Condition without the additional lock required by pthread_cond_wait().
This implementation relies on the properties of 'fast' LinuxThreads mutexes, that allow another thread to unlock the mutex, while pthread_mutex_lock() blocks also the thread owning the mutex.