condition class.
More...
#include <xthread.h>
|
|
QWaitCondition | m_cond |
| |
|
pthread_cond_t | m_cond |
| |
|
|
QMutex | m_mutex |
| |
|
pthread_mutex_t | m_mutex |
| |
condition class.
Definition at line 94 of file xthread.h.
| void XCondition::broadcast |
( |
| ) |
|
| void XCondition::signal |
( |
| ) |
|
| int XCondition::wait |
( |
int |
usec = 0 | ) |
|
Lock me before calling me. go asleep until signal is emitted.
- Parameters
-
| usec | if non-zero, timeout occurs after usec. |
- Returns
- zero if locked thread is waked up.
Definition at line 36 of file xthread.cpp.
The documentation for this class was generated from the following files: