Robust Distributed System Nucleus (rDSN)
ver 1.0.0
|
Public Types | |
typedef semaphore_provider *(* | factory) (int, semaphore_provider *) |
Public Member Functions | |
semaphore_provider (int initial_count, semaphore_provider *inner_provider) | |
virtual void | signal (int count)=0 |
virtual bool | wait (int timeout_milliseconds=TIME_MS_MAX)=0 |
semaphore_provider * | get_inner_provider () const |
Static Public Member Functions | |
template<typename T > | |
static semaphore_provider * | create (int initCount, semaphore_provider *inner_provider) |