RecursiveMutex Class Reference
Inherits Mutex.
List of all members.
|
Public Member Functions |
|
void | lock () |
|
bool | trylock () |
|
void | unlock () |
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.
The documentation for this class was generated from the following file:
Sun Jan 7 00:55:18 2007.
©2006 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.