Inherited by fltk::RecursiveMutex, and fltk::SignalMutex.
Public Member Functions | |
void | lock () |
bool | trylock () |
void | unlock () |
Protected Member Functions | |
Mutex (const pthread_mutexattr_t *a) | |
Friends | |
class | SignalMutex |
"Mutual-exclusion lock" for simple multithreaded programs. Calling lock() will wait until nobody else has the lock and then will return. Calling lock() more than once will "deadlock"! To avoid this, use RecursiveMutex.