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

Detailed Description

A mutual exclusion class.

See also
ThreadLock, ThreadReleaseLock and Dispatcher Mutext

#include <ThreadLib.h>

Inherits ThreadMutexBase.

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.