#include <thread.h>
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 | |
| cmn_Semaphore::cmn_Semaphore | ( | unsigned int | initial = 1 |
) | [inline] |
| 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 }

| 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 }

cmn_Semaphore::log_CLASSID_m [private] |
1.5.6