43 m_hMutex = CreateMutex( NULL, FALSE, NULL );
44 if( NULL == m_hMutex )
47 throw std::bad_alloc();
50 pthread_mutex_init(&m_Mutex, NULL);
53 if(
true == bInitLock )
62 CloseHandle( m_hMutex );
64 pthread_mutex_destroy(&
m_Mutex);
82 WaitForSingleObject( m_hMutex, INFINITE );
91 ReleaseMutex( m_hMutex );
93 pthread_mutex_unlock( &
m_Mutex );
Mutex & operator=(const Mutex &)
IMEXPORT Mutex(bool bInitLock=false)
#define LOG_FREE_TEXT(txt)