Return to Mutex.h CVS log | Up to [Pegasus] / pegasus / src / Pegasus / Common |
version 1.5, 2006/08/09 21:12:42 | version 1.6, 2006/08/21 14:46:13 | ||
---|---|---|---|
|
| ||
{ | { | ||
public: | public: | ||
enum RecursiveTag { RECURSIVE }; | |||
enum NonRecursiveTag { NON_RECURSIVE }; | |||
/** Default constructor creates a recursive mutex. | |||
*/ | |||
Mutex(); | Mutex(); | ||
/** Call as Mutex(Mutex::RECURSIVE) to create a recursive mutex. | |||
*/ | |||
Mutex(RecursiveTag); | |||
/** Call as Mutex(Mutex::NON_RECURSIVE) to create a non-recursive mutex. | |||
*/ | |||
Mutex(NonRecursiveTag); | |||
~Mutex(); | ~Mutex(); | ||
void lock(); | void lock(); |
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |