Wefts::OSConditionWindows Class Reference

#include <wefts_os_windows.h>

Inheritance diagram for Wefts::OSConditionWindows:

Inheritance graph
[legend]
Collaboration diagram for Wefts::OSConditionWindows:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class implement an os-dependant condition.

Calls Windows dependant thread


Public Member Functions

 OSConditionWindows () throw ( InitError )
 ~OSConditionWindows ()
void signal ()
void signalOne ()
bool wait (OSMutexBase &mtx, CleanupItem &guard)
 Waiting for a condition (giving off an already held mutex).

bool timedWait (OSMutexBase &mtx, long seconds, long nanoseconds, CleanupItem &guard)
 Timed wait.


Private Attributes

HANDLE semBlockLock
HANDLE semBlockQueue
CRITICAL_SECTION mtxUnblockLock
int nWaitersGone
int nWaitersBlocked
int nWaitersToUnblock


Constructor & Destructor Documentation

Wefts::OSConditionWindows::OSConditionWindows  )  throw ( InitError )
 

Wefts::OSConditionWindows::~OSConditionWindows  ) 
 


Member Function Documentation

void Wefts::OSConditionWindows::signal  )  [virtual]
 

Implements Wefts::OSConditionBase.

void Wefts::OSConditionWindows::signalOne  )  [virtual]
 

Implements Wefts::OSConditionBase.

bool Wefts::OSConditionWindows::timedWait OSMutexBase mtx,
long  seconds,
long  nanoseconds,
CleanupItem guard
[virtual]
 

Timed wait.

Implements Wefts::OSConditionBase.

bool Wefts::OSConditionWindows::wait OSMutexBase mtx,
CleanupItem guard
[virtual]
 

Waiting for a condition (giving off an already held mutex).

Implements Wefts::OSConditionBase.


Member Data Documentation

CRITICAL_SECTION Wefts::OSConditionWindows::mtxUnblockLock [private]
 

int Wefts::OSConditionWindows::nWaitersBlocked [private]
 

int Wefts::OSConditionWindows::nWaitersGone [private]
 

int Wefts::OSConditionWindows::nWaitersToUnblock [private]
 

HANDLE Wefts::OSConditionWindows::semBlockLock [private]
 

HANDLE Wefts::OSConditionWindows::semBlockQueue [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Oct 5 14:57:02 2004 for Wefts by doxygen 1.3.7