NAME
ACE_Thread_Semaphore -
Wrapper for Dijkstra style general semaphores that work
only within on process.
SYNOPSIS
#include <ace/Synch.h>
class ACE_Thread_Semaphore : public ACE_Semaphore
{
public:
ACE_Thread_Semaphore (
u_int count,
LPCTSTR name = 0,
void * = 0,
int max = 0x7FFFFFFF
);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
};
DESCRIPTION
Wrappers for various synchronization routines.
PUBLIC MEMBERS
ACE_Thread_Semaphore (
u_int count,
LPCTSTR name = 0,
void * = 0,
int max = 0x7FFFFFFF
);
Initialize the semaphore, with an initial value of count and a
maximum value of max.
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace