64 Mutex(
const char *
const name = 0)
66 SECURITY_DESCRIPTOR sd_buffer;
67 ::InitializeSecurityDescriptor(&sd_buffer,
68 SECURITY_DESCRIPTOR_REVISION);
69 ::SetSecurityDescriptorDacl (&sd_buffer,
TRUE, 0,
FALSE);
118 ::WaitForSingleObject(
mutex_,INFINITE);
139 dwret = ::WaitForSingleObject(
mutex_,0);
182 #endif // COIL_MUTEX_H ACE_thread_mutex_t mutex_
void lock()
Mutual exclusion lock.
void unlock()
Mutual exclusion unlock.
bool trylock()
Mutual exclusion non-blocking lock.
SECURITY_ATTRIBUTES m_Security_attr
Mutex(const char *const name=0)
Constructor.
Mutex(const char *naem=0)
Mutex & operator=(const Mutex &)
Common Object Interface Layer.