Condition template class. More...
#include <Condition.h>
Public Member Functions | |
| void | broadcast () |
| void | broadcast () |
| Resume of all the thread practice. More... | |
| void | broadcast () |
| Resume of all the thread practice. More... | |
| Condition (Mutex &mutex) | |
| Condition (M &mutex) | |
| Constructor. More... | |
| Condition (M &mutex) | |
| Constructor. More... | |
| void | signal () |
| void | signal () |
| Resume of the thread practice. More... | |
| void | signal () |
| Resume of the thread practice. More... | |
| bool | wait () |
| bool | wait (long second, long nano_second=0) |
| bool | wait () |
| Wait of the thread practice. More... | |
| bool | wait (long second, long nano_second=0) |
| Thread practice wait of set time. More... | |
| bool | wait () |
| Wait of the thread practice. More... | |
| bool | wait (long second, long nano_second=0) |
| Thread practice wait of set time. More... | |
| ~Condition () | |
| ~Condition () | |
| Destructor. More... | |
| ~Condition () | |
| Destructor. More... | |
Private Member Functions | |
| Condition (const Mutex &) | |
| Condition (const M &) | |
| Condition (const Mutex &) | |
| Condition & | operator= (const Mutex &) |
| Condition & | operator= (const M &) |
| Condition & | operator= (const Mutex &) |
| int | pthread_cond_broadcast (pthread_cond_t *cv) |
| Resume of all the thread practice. More... | |
| int | pthread_cond_signal (pthread_cond_t *cv) |
| Resume of the thread practice. More... | |
| int | pthread_cond_wait (coil::pthread_cond_t *cv, coil::Mutex *external_mutex, DWORD aMilliSecond) |
| Wait of the thread practice. More... | |
Private Attributes | |
| ACE_cond_t | m_cond |
| pthread_cond_t | m_cond |
| coil::pthread_cond_t | m_cond |
| Mutex & | m_mutex |
| M & | m_mutex |
Condition template class.
Definition at line 39 of file ace/coil/Condition.h.
|
inline |
Definition at line 42 of file ace/coil/Condition.h.
|
inline |
Definition at line 48 of file ace/coil/Condition.h.
|
private |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
private |
|
inline |
Definition at line 59 of file ace/coil/Condition.h.
|
inline |
Resume of all the thread practice.
Let all waiting thread practice resume.
Definition at line 124 of file posix/coil/Condition.h.
|
inline |
Resume of all the thread practice.
Let all waiting thread practice resume.
Definition at line 162 of file win32/coil/Condition.h.
|
private |
|
private |
|
private |
|
inlineprivate |
Resume of all the thread practice.
Let all waiting thread practice resume.
Definition at line 356 of file win32/coil/Condition.h.
|
inlineprivate |
Resume of the thread practice.
Let the practice of a waiting thread resume.
Definition at line 323 of file win32/coil/Condition.h.
|
inlineprivate |
Wait of the thread practice.
Stop the practice of the thread till become the signal state.
Definition at line 243 of file win32/coil/Condition.h.
|
inline |
Definition at line 53 of file ace/coil/Condition.h.
|
inline |
Resume of the thread practice.
Let the practice of a waiting thread resume.
Definition at line 104 of file posix/coil/Condition.h.
|
inline |
Resume of the thread practice.
Let the practice of a waiting thread resume.
Definition at line 142 of file win32/coil/Condition.h.
|
inline |
Definition at line 65 of file ace/coil/Condition.h.
|
inline |
Definition at line 71 of file ace/coil/Condition.h.
|
inline |
Wait of the thread practice.
Stop the practice of the thread till a condition variable is transmitted.
Definition at line 148 of file posix/coil/Condition.h.
|
inline |
Thread practice wait of set time.
In set time, stop the practice of the thread.
| second | Time of the seconds. |
| nano_second | time of the nanoseconds. |
Definition at line 178 of file posix/coil/Condition.h.
|
inline |
Wait of the thread practice.
Stop the practice of the thread till a condition variable is transmitted.
Definition at line 186 of file win32/coil/Condition.h.
|
inline |
Thread practice wait of set time.
In set time, stop the practice of the thread.
| second | Time of the seconds. |
| nano_second | time of the nanoseconds. |
Definition at line 216 of file win32/coil/Condition.h.
|
private |
Definition at line 84 of file ace/coil/Condition.h.
|
private |
Definition at line 189 of file posix/coil/Condition.h.
|
private |
Definition at line 393 of file win32/coil/Condition.h.
|
private |
Definition at line 85 of file ace/coil/Condition.h.
|
private |
Definition at line 190 of file posix/coil/Condition.h.