Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Thread_Semaphore Class Reference

Wrapper for Dijkstra style general semaphores that work only within one process. More...

#include <Synch.h>

Inheritance diagram for ACE_Thread_Semaphore:

Inheritance graph
[legend]
Collaboration diagram for ACE_Thread_Semaphore:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Thread_Semaphore (u_int count=1, const ACE_TCHAR *name=0, void *=0, int max=0x7FFFFFFF)
 Initialize the semaphore, with an initial value of <count>, maximum value of <max>, and unlocked by default. More...

 ~ACE_Thread_Semaphore (void)
 Default dtor. More...

void dump (void) const
 Dump the state of an object. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Detailed Description

Wrapper for Dijkstra style general semaphores that work only within one process.

Definition at line 1496 of file Synch.h.


Constructor & Destructor Documentation

ACE_Thread_Semaphore::ACE_Thread_Semaphore u_int    count = 1,
const ACE_TCHAR   name = 0,
void *    = 0,
int    max = 0x7FFFFFFF
 

Initialize the semaphore, with an initial value of <count>, maximum value of <max>, and unlocked by default.

Definition at line 431 of file Synch.cpp.

References ACE_TCHAR.

00435   : ACE_Semaphore (count, USYNC_THREAD, name, arg, max)
00436 {
00437 // ACE_TRACE ("ACE_Thread_Semaphore::ACE_Thread_Semaphore");
00438 }

ACE_Thread_Semaphore::~ACE_Thread_Semaphore void   
 

Default dtor.


Member Function Documentation

void ACE_Thread_Semaphore::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_Semaphore.

Definition at line 424 of file Synch.cpp.

References ACE_Semaphore::dump.

00425 {
00426 // ACE_TRACE ("ACE_Thread_Semaphore::dump");
00427 
00428   ACE_Semaphore::dump ();
00429 }


Member Data Documentation

ACE_Thread_Semaphore::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Semaphore.

Definition at line 1513 of file Synch.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:57:42 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002