My Project
|
#include <thread.h>
Public Member Functions | |
Semaphore () | |
Semaphore (unsigned count0) | |
void | wait () |
void | post () |
Private Attributes | |
Lock | lock |
ConditionVariable | cond |
unsigned | count |
unsigned | waiting |
|
inline |
void Semaphore::wait | ( | ) |
|
private |