42 m_hMutex = CreateMutex( NULL, FALSE, NULL );
43 if( NULL == m_hMutex )
46 throw std::bad_alloc();
49 pthread_mutex_init(&m_Mutex, NULL);
52 if(
true == bInitLock )
61 CloseHandle( m_hMutex );
63 pthread_mutex_destroy(&
m_Mutex);
81 WaitForSingleObject( m_hMutex, INFINITE );
90 ReleaseMutex( m_hMutex );
92 pthread_mutex_unlock( &
m_Mutex );
Mutex & operator=(const Mutex &)
IMEXPORT Mutex(bool bInitLock=false)
#define LOG_FREE_TEXT(txt)