2 #include "g_mthread_MutexAbstract.h"
4 #define G_UNIX_CRITICAL_SECTION_SIZEOF (sizeof(void*)*6)
19 void setNumMaxSpin ( GInt32_t aSpinMax );
21 virtual void wait ( );
22 virtual bool wait ( GTimeoutSec_t aTimeOutSec );
23 virtual bool tryWait ( );
24 virtual void release ( );
26 GInt32_t getNumRecursion ( )
const {
return mNumRecursion; }
27 GInt64_t getThreadLockerId ( )
const {
return mThreadLockerId; }
30 GInt32_t mNumRecursion;
32 #if G_AUTOPTION_ON_WINDOWS
33 unsigned long mThreadLockerId;
35 unsigned long mNumSpinMax;
36 void* mHandleSemaphore;
38 GInt64_t mThreadLockerId;
Definition: g.mthread.ThreadSimpleEvent.h:5
Definition: g_mthread_CriticalSection.h:12
Definition: g_mthread_MutexAbstract.h:14