Barracuda Application Server C/C++ Reference
ThreadMutex Struct Reference

A mutual exclusion class. More...

#include <ThreadLib.h>

Inheritance diagram for ThreadMutex:

Public Member Functions

 ThreadMutex ()
 Create a mutex.
 
 ~ThreadMutex ()
 Destroy a mutex.
 
void set ()
 Lock the mutex.
 
void release ()
 Release the mutex.
 
bool isOwner ()
 Returns true if the mutex is locked and the current thread is the owner.
 

Detailed Description

A mutual exclusion class.

See also
ThreadLock, ThreadReleaseLock and Dispatcher Mutext