My Project
|
#include <vspace.h>
Public Member Functions | |
Semaphore (size_t value=0) | |
size_t | value () |
void | post () |
bool | try_wait () |
void | wait () |
bool | start_wait (internals::ipc_signal_t sig=0) |
bool | stop_wait () |
Private Member Functions | |
void | next (int &index) |
bool | _idle () |
Private Attributes | |
int | _owner |
int | _waiting [internals::MAX_PROCESS+1] |
internals::ipc_signal_t | _signals [internals::MAX_PROCESS+1] |
int | _head |
int | _tail |
size_t | _value |
FastLock | _lock |
Friends | |
template<typename T > | |
class | SyncVar |
|
inline |
|
inlineprivate |
|
inlineprivate |
void Semaphore::post | ( | ) |
Definition at line 1023 of file vspace.cc.
bool Semaphore::start_wait | ( | internals::ipc_signal_t | sig = 0 | ) |
bool Semaphore::stop_wait | ( | ) |
bool Semaphore::try_wait | ( | ) |
|
inline |
void Semaphore::wait | ( | ) |
|
private |
|
private |