Semaphore Class Reference
Semaphore class.
More...
#include <Thread.hpp>
List of all members.
Detailed Description
Semaphore class.
Definition at line 441 of file Thread.hpp.
Constructor & Destructor Documentation
| Semaphore::Semaphore |
( |
|
) |
[inline] |
| Semaphore::~Semaphore |
( |
|
) |
[inline] |
Member Function Documentation
| void Semaphore::wait |
( |
|
) |
[inline] |
| void Semaphore::post |
( |
|
) |
[inline] |
Increments semaphore counter (decrease priority)
Definition at line 457 of file Thread.hpp.
| int Semaphore::trywait |
( |
|
) |
[inline] |
Tries to get resource
- Returns:
- 0 if not reserved
Definition at line 468 of file Thread.hpp.
00469 {
00470 return 0;
00471 }
The documentation for this class was generated from the following file: