#include <Thread.hpp>
Public Member Functions | |
ThreadCondition (const ThreadMutex &) | |
Constructor. | |
~ThreadCondition () | |
Destructor. | |
int | timedWait (long sec=0, long nsec=0) const |
timedWait atomically unlocks mutex and waits, but it also bounds the duration of the wait. | |
void | wait () const |
wait atomically unlocks the mutex and waits for the condition variable to be signaled. | |
void | notify () const |
Restarts one of the threads that are waiting on this condition variable. | |
void | notifyAll () const |
Restarts all the threads that are waiting on the condition variable. |
Definition at line 90 of file Thread.hpp.
|
Constructor.
Definition at line 89 of file Thread.cpp. |
|
Destructor.
Definition at line 94 of file Thread.cpp. |
|
Restarts one of the threads that are waiting on this condition variable. If several threads are waiting, exactly one is restarted, but it is not specified which. Definition at line 116 of file Thread.hpp. |
|
Restarts all the threads that are waiting on the condition variable.
Definition at line 120 of file Thread.hpp. |
|
timedWait atomically unlocks mutex and waits, but it also bounds the duration of the wait. If notify has not been signaled within the amount of time specified by abstime, the mutex is re-acquired. Definition at line 98 of file Thread.cpp. References L1394_FAILED, L1394_SUCCESS, and L1394::ThreadMutex::mutex. |
|
wait atomically unlocks the mutex and waits for the condition variable to be signaled.
Definition at line 110 of file Thread.cpp. References L1394::ThreadMutex::mutex. |