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

Detailed Description

A mutual exclusion class.

See also
ThreadLock, ThreadReleaseLock and Dispatcher Mutext

#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.