40 #ifndef QWAITCONDITION_H
41 #define QWAITCONDITION_H
43 #include <QtCore/QDeadlineTimer>
59 bool wait(
QMutex *lockedMutex,
61 bool wait(
QMutex *lockedMutex,
unsigned long time);
70 void notify_one() { wakeOne(); }
71 void notify_all() {
wakeAll(); }
The QDeadlineTimer class marks a deadline in the future.
The QMutex class provides access serialization between threads.
The QReadWriteLock class provides read-write locking.
bool wait(QReadWriteLock *, QDeadlineTimer=QDeadlineTimer(QDeadlineTimer::Forever))
bool wait(QMutex *, QDeadlineTimer=QDeadlineTimer(QDeadlineTimer::Forever))
bool wait(QReadWriteLock *, unsigned long)
bool wait(QMutex *, unsigned long)
#define Q_DISABLE_COPY(Class)
QDeadlineTimer deadline(30s)