|
| | CINOSConditionVariable (const char *aName=nullptr) |
| |
|
virtual | ~CINOSConditionVariable () |
| | Destroy condition variable object.
|
| |
|
template<class Rep , class Period > |
| EStatus | WaitFor (std::unique_lock< CINOSMutex > &lock, const std::chrono::duration< Rep, Period > &rel_time) |
| | wait for being notified waiting at most aTimeout. See http://en.cppreference.com/w/cpp/thread/condition_variable/wait_for for more information
|
| |
|
template<class Rep , class Period , class Predicate > |
| bool | WaitFor (std::unique_lock< CINOSMutex > &lock, const std::chrono::duration< Rep, Period > &rel_time, Predicate pred) |
| | wait for being notified waiting at most aTimeout. See http://en.cppreference.com/w/cpp/thread/condition_variable/wait_for for more information
|
| |
|
void | Wait (std::unique_lock< CINOSMutex > &lock) |
| | wait for being notified (even spuriously) See http://en.cppreference.com/w/cpp/thread/condition_variable/wait for more information
|
| |
|
template<class Predicate > |
| void | wait (std::unique_lock< CINOSMutex > &lock, Predicate pred) |
| | wait for being notified and 'pred' is true See http://en.cppreference.com/w/cpp/thread/condition_variable/wait for more information
|
| |
|
void | NotifyOne () |
| | Wake up one waiting task See http://en.cppreference.com/w/cpp/thread/condition_variable/notify_one for more information.
|
| |
|
void | NotifyAll () |
| | Wake up all waiting tasks See http://en.cppreference.com/w/cpp/thread/condition_variable/notify_all for more information.
|
| |
| | CINOSSync (const char *aName=0, uint32 aInitialCount=0, bool aManual=false) |
| |
|
virtual | ~CINOSSync () |
| | Destroy sync object.
|
| |
|
virtual const char * | GetName () |
| | Get name of sync object.
|
| |
| virtual uint32 | Wait (uint32 aTimeout=0xFFFFFFFF) |
| | wait for signaled state for max. aTimeout usec More...
|
| |
|
virtual void | Signal () |
| | Put object into the signaled state.
|
| |
| virtual void | SignalEx (CINOSTaskExMsg *apMsg, uint32 auRplId, uint32 auAppError) |
| |
| virtual bool | MsgEvent (CINOSTaskExMsg *apMsg) |
| |
|
virtual void | Reset () |
| | Reset object state.
|
| |
|
volatile uint32 * | GetLockAdr () |
| | Return pointer to core locking structure.
|
| |
|
virtual bool | UsesPolling () const |
| |
|
bool | IsSame (CINOSSync *i_pSync) |
| |
|
int | operator< (const CINOSSync &aSync) const |
| |
|
int | operator== (const CINOSSync &aSync) const |
| |
|
int | operator< (const char *aName) const |
| |
|
int | operator== (const char *aName) const |
| |
Condition variable that mimics the API of the C++11 condition variable. The behavior should equal the one from C++11, therefore, documentation for it can be read at http://en.cppreference.com/w/cpp/thread/condition_variable. Note that 'wait_until' is so far missing.