#include <Mutex.h>
Public Member Functions | |
void | lock () |
void | lock () |
Mutual exclusion lock. | |
void | lock () |
Mutual exclusion lock. | |
Mutex (const char *naem=0) | |
Mutex (const char *const name=0) | |
Constructor. | |
Mutex (const char *const name=0) | |
Constructor. | |
bool | trylock () |
bool | trylock () |
Mutual exclusion non-blocking lock. | |
bool | trylock () |
Mutual exclusion non-blocking lock. | |
void | unlock () |
void | unlock () |
Mutual exclusion unlock. | |
void | unlock () |
Mutual exclusion unlock. | |
~Mutex () | |
~Mutex () | |
Destructor. | |
~Mutex () | |
Destructor. | |
Public Attributes | |
ACE_thread_mutex_t | mutex_ |
pthread_mutex_t | mutex_ |
Mutual exclusion object. | |
HANDLE | mutex_ |
Private Member Functions | |
Mutex (const Mutex &) | |
Mutex (const Mutex &) | |
Mutex (const Mutex &) | |
Mutex & | operator= (const Mutex &) |
Mutex & | operator= (const Mutex &) |
Mutex & | operator= (const Mutex &) |
Private Attributes | |
SECURITY_ATTRIBUTES | m_Security_attr |
Mutex class.
Definition at line 36 of file ace/coil/Mutex.h.
coil::Mutex::Mutex | ( | const char * | naem = 0 | ) | [inline] |
Definition at line 39 of file ace/coil/Mutex.h.
coil::Mutex::~Mutex | ( | ) | [inline] |
Definition at line 44 of file ace/coil/Mutex.h.
coil::Mutex::Mutex | ( | const Mutex & | ) | [private] |
coil::Mutex::Mutex | ( | const char *const | name = 0 | ) | [inline] |
Constructor.
Constructor
name | Object name |
Definition at line 62 of file posix/coil/Mutex.h.
coil::Mutex::~Mutex | ( | ) | [inline] |
coil::Mutex::Mutex | ( | const Mutex & | ) | [private] |
coil::Mutex::Mutex | ( | const char *const | name = 0 | ) | [inline] |
Constructor.
Constructor
name | Object name |
Definition at line 64 of file win32/coil/Mutex.h.
coil::Mutex::~Mutex | ( | ) | [inline] |
coil::Mutex::Mutex | ( | const Mutex & | ) | [private] |
void coil::Mutex::lock | ( | ) | [inline] |
Definition at line 49 of file ace/coil/Mutex.h.
void coil::Mutex::lock | ( | ) | [inline] |
Mutual exclusion lock.
Lock the Mutual exclusion.
Definition at line 102 of file posix/coil/Mutex.h.
void coil::Mutex::lock | ( | ) | [inline] |
Mutual exclusion lock.
Lock the Mutual exclusion.
Definition at line 116 of file win32/coil/Mutex.h.
bool coil::Mutex::trylock | ( | ) | [inline] |
Definition at line 54 of file ace/coil/Mutex.h.
bool coil::Mutex::trylock | ( | ) | [inline] |
Mutual exclusion non-blocking lock.
Lock the Mutual exclusion by non-blocking.
Definition at line 122 of file posix/coil/Mutex.h.
bool coil::Mutex::trylock | ( | ) | [inline] |
Mutual exclusion non-blocking lock.
Lock the Mutual exclusion by non-blocking.
Definition at line 136 of file win32/coil/Mutex.h.
void coil::Mutex::unlock | ( | ) | [inline] |
Definition at line 59 of file ace/coil/Mutex.h.
void coil::Mutex::unlock | ( | ) | [inline] |
Mutual exclusion unlock.
Unlock the Mutual exclusion.
Definition at line 142 of file posix/coil/Mutex.h.
void coil::Mutex::unlock | ( | ) | [inline] |
Mutual exclusion unlock.
Unlock the Mutual exclusion.
Definition at line 169 of file win32/coil/Mutex.h.
SECURITY_ATTRIBUTES coil::Mutex::m_Security_attr [private] |
Definition at line 176 of file win32/coil/Mutex.h.
ACE_thread_mutex_t coil::Mutex::mutex_ |
Definition at line 63 of file ace/coil/Mutex.h.
Mutual exclusion object.
Definition at line 158 of file posix/coil/Mutex.h.
HANDLE coil::Mutex::mutex_ |
Definition at line 173 of file win32/coil/Mutex.h.