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

Semaphore Class Reference

#include <Semaphore.h>

List of all members.

Public Methods

 Semaphore (int initialCount, int maxCount, const char *name)
 ~Semaphore ()
void wait ()
long signal (int amount=1)

Protected Attributes

HANDLE mutex_


Constructor & Destructor Documentation

Semaphore::Semaphore int    initialCount,
int    maxCount,
const char *    name
 

Definition at line 3 of file Semaphore.cpp.

References FALSE, and mutex_.

Semaphore::~Semaphore   [inline]
 

Definition at line 16 of file WinNT/Semaphore.h.


Member Function Documentation

long Semaphore::signal int    amount = 1
 

Definition at line 16 of file Semaphore.cpp.

References mutex_.

void Semaphore::wait  
 

Definition at line 10 of file Semaphore.cpp.

References mutex_.


Member Data Documentation

HANDLE Semaphore::mutex_ [protected]
 

Definition at line 12 of file WinNT/Semaphore.h.

Referenced by Semaphore(), signal(), and wait().


The documentation for this class was generated from the following files:
Generated on Mon Oct 7 09:33:36 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001