Public Member Functions | Private Attributes

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

#include <thread.h>

List of all members.

Public Member Functions

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

Private Attributes

 log_CLASSID_m

Detailed Description

Definition at line 158 of file thread.h.


Constructor & Destructor Documentation

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

Definition at line 161 of file thread.h.

: omni_semaphore(initial) {};


Member Function Documentation

void cmn_Semaphore::Post (  ) 

Definition at line 311 of file cmn_thread.cpp.

References OMNITHREAD_EXEC_m.

Referenced by rm_Queue::Activate(), and rm_DB::~rm_DB().

                         {
    OMNITHREAD_EXEC_m(Post, post());
}

Here is the caller graph for this function:

int cmn_Semaphore::TryWait (  ) 

Definition at line 307 of file cmn_thread.cpp.

References OMNITHREAD_EXEC_m.

                           {
    OMNITHREAD_EXEC_m(TryWait, return trywait());
}

void cmn_Semaphore::Wait (  ) 

Definition at line 303 of file cmn_thread.cpp.

References OMNITHREAD_EXEC_m.

Referenced by FB_shutdownCallback(), and rm_QueueExecutor::Run().

                         {
    OMNITHREAD_EXEC_m(Wait, wait());
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 177 of file thread.h.


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