fltk::RecursiveMutex Class Reference
Inherits fltk::Mutex.
List of all members.
Detailed Description
"Mutual exclusion lock" to protect data in multithreaded programs. This is a "recursive lock". Calling lock() will wait until nobody else has the lock and then will take it. Calling lock() multiple times by the same thread is allowed, and unlock() must then be called the same number of times before another thread can get the lock.
|
Public Member Functions |
void | lock () |
bool | trylock () |
void | unlock () |
Fri Apr 2 15:19:55 2010.
©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for
any purpose, provided this copyright and permission notice are preserved.