cmlabs::JSingleSemaphore Class Reference

#include <JSemaphore.h>

Inheritance diagram for cmlabs::JSingleSemaphore:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::JSingleSemaphore:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 JSingleSemaphore ()
 ~JSingleSemaphore ()
Objectclone () const
bool wait (long ms=-1)
bool postToAll ()
bool tryWait ()

Private Attributes

HANDLE hSemaphore
pthread_mutex_t * mutex


Detailed Description

Definition at line 85 of file JSemaphore.h.


Constructor & Destructor Documentation

cmlabs::JSingleSemaphore::JSingleSemaphore (  ) 

Definition at line 130 of file JSemaphore_Linux.cpp.

cmlabs::JSingleSemaphore::~JSingleSemaphore (  ) 

Definition at line 140 of file JSemaphore_Linux.cpp.


Member Function Documentation

Object* cmlabs::JSingleSemaphore::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 90 of file JSemaphore.h.

bool cmlabs::JSingleSemaphore::wait ( long  ms = -1  ) 

Reimplemented from cmlabs::Object.

Definition at line 149 of file JSemaphore_Linux.cpp.

bool cmlabs::JSingleSemaphore::postToAll (  ) 

Definition at line 188 of file JSemaphore_Linux.cpp.

bool cmlabs::JSingleSemaphore::tryWait (  ) 

Definition at line 196 of file JSemaphore_Linux.cpp.


Member Data Documentation

Definition at line 98 of file JSemaphore.h.

pthread_mutex_t* cmlabs::JSingleSemaphore::mutex [private]

Definition at line 100 of file JSemaphore.h.


The documentation for this class was generated from the following files:

Generated on Tue Jul 7 16:22:48 2009 for CoreLibrary by  doxygen 1.5.6