#include <qwaitcondition.h>
Definition at line 50 of file qwaitcondition.h.
QWaitCondition::QWaitCondition |
( |
| ) |
|
Definition at line 92 of file qwaitcondition_unix.cpp.
QWaitConditionPrivate * d
static void report_error(int code, const char *where, const char *what)
QWaitCondition::~QWaitCondition |
( |
| ) |
|
Definition at line 101 of file qwaitcondition_unix.cpp.
QWaitConditionPrivate * d
static void report_error(int code, const char *where, const char *what)
void QWaitCondition::wait |
( |
QMutex * |
mutex | ) |
|
Definition at line 124 of file qwaitcondition_unix.cpp.
QWaitConditionPrivate * d
static void report_error(int code, const char *where, const char *what)
void QWaitCondition::wakeAll |
( |
| ) |
|
Definition at line 116 of file qwaitcondition_unix.cpp.
118 report_error(pthread_mutex_lock(&
d->
mutex),
"QWaitCondition::wakeAll()",
"mutex lock");
120 report_error(pthread_cond_broadcast(&
d->
cond),
"QWaitCondition::wakeAll()",
"cv broadcast");
121 report_error(pthread_mutex_unlock(&
d->
mutex),
"QWaitCondition::wakeAll()",
"mutex unlock");
QWaitConditionPrivate * d
static void report_error(int code, const char *where, const char *what)
void QWaitCondition::wakeOne |
( |
| ) |
|
Definition at line 108 of file qwaitcondition_unix.cpp.
110 report_error(pthread_mutex_lock(&
d->
mutex),
"QWaitCondition::wakeOne()",
"mutex lock");
112 report_error(pthread_cond_signal(&
d->
cond),
"QWaitCondition::wakeOne()",
"cv signal");
113 report_error(pthread_mutex_unlock(&
d->
mutex),
"QWaitCondition::wakeOne()",
"mutex unlock");
QWaitConditionPrivate * d
static void report_error(int code, const char *where, const char *what)
The documentation for this class was generated from the following files: