cmn_Semaphore Class Reference
[Common, basic classes, functions and types]

#include <thread.h>

List of all members.


Detailed Description

Definition at line 144 of file thread.h.


Public Member Functions

 cmn_Semaphore (unsigned int initial=1)
void Wait ()
int TryWait ()
void Post ()

Private Attributes

 log_CLASSID_m

Constructor & Destructor Documentation

cmn_Semaphore::cmn_Semaphore ( unsigned int  initial = 1  )  [inline]

Definition at line 147 of file thread.h.

00147 : omni_semaphore(initial) {};


Member Function Documentation

void cmn_Semaphore::Wait (  ) 

Definition at line 289 of file cmn_thread.cpp.

References OMNITHREAD_EXEC_m.

Referenced by rm_QueueExecutor::Run().

00289                          {
00290     OMNITHREAD_EXEC_m(Wait, wait());
00291 }

Here is the caller graph for this function:

int cmn_Semaphore::TryWait (  ) 

Definition at line 293 of file cmn_thread.cpp.

References OMNITHREAD_EXEC_m.

00293                            {
00294     OMNITHREAD_EXEC_m(TryWait, return trywait());
00295 }

void cmn_Semaphore::Post (  ) 

Definition at line 297 of file cmn_thread.cpp.

References OMNITHREAD_EXEC_m.

Referenced by rm_Queue::Activate().

00297                          {
00298     OMNITHREAD_EXEC_m(Post, post());
00299 }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 163 of file thread.h.


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

Generated on Mon Feb 27 19:05:26 2012 for OPENARCHIVE by  doxygen 1.5.6