gatelib  2.1
g_mthread_SemaphoreAnonymous.h
1 #pragma once
2 
3 #include "g_common.h"
4 #include "g_mthread_SemaphoreBase.h"
5 
6 #define G_UNIX_SEMAPHORE_SIZE ( 4* sizeof(void*) )
7 
8 namespace g
9 {
10 namespace mthread
11 {
12 
13 class G_LIB_ITEM SemaphoreAnonymous : public SemaphoreBase
14 {
15  G_COPY_CONSTRUCTOR_PROHIBITED(SemaphoreAnonymous);
16 public:
17  G_REF
18  SemaphoreAnonymous ( GUint32_t initial_count = 0 );
19  virtual ~SemaphoreAnonymous();
20 
21 private:
22 #if G_AUTOPTION_ON_UNIX
24 #endif
25 };
26 
27 }//namespace mthread
28 }//namespace g
Definition: g.mthread.ThreadSimpleEvent.h:5
Definition: g_mthread_SemaphoreAnonymous.h:13
Definition: g_mthread_SemaphoreBase.h:10