#include <ace/Synch.h>
class ACE_Thread_Semaphore : public ACE_Semaphore {
public:
ACE_Thread_Semaphore ( u_int count = 1, LPCTSTR name = 0, void * = 0, int max = 0x7FFFFFFF );
~ACE_Thread_Semaphore (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
};
ACE_Thread_Semaphore (
u_int count = 1,
LPCTSTR name = 0,
void * = 0,
int max = 0x7FFFFFFF
);
count
,
maximum value of max
, and unlocked by default.
~ACE_Thread_Semaphore (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;