java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QWaitCondition
- All Implemented Interfaces:
QtObjectInterface
public class QWaitCondition extends QtObject
Condition variable for synchronizing threads
Java wrapper for Qt class QWaitCondition
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QWaitCondition()
protected
QWaitCondition(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description boolean
wait(QMutex lockedMutex)
Overloaded function forwait(io.qt.core.QMutex, io.qt.core.QDeadlineTimer)
withdeadline = new QDeadlineTimer(QDeadlineTimer.ForeverConstant.Forever)
.boolean
wait(QMutex lockedMutex, int time)
boolean
wait(QMutex lockedMutex, QDeadlineTimer deadline)
boolean
wait(QReadWriteLock lockedReadWriteLock)
Overloaded function forwait(io.qt.core.QReadWriteLock, io.qt.core.QDeadlineTimer)
withdeadline = new QDeadlineTimer(QDeadlineTimer.ForeverConstant.Forever)
.boolean
wait(QReadWriteLock lockedReadWriteLock, int time)
boolean
wait(QReadWriteLock lockedReadWriteLock, QDeadlineTimer deadline)
void
wakeAll()
void
wakeOne()
-
Constructor Details
-
QWaitCondition
public QWaitCondition() -
QWaitCondition
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
wait
Overloaded function for
wait(io.qt.core.QMutex, io.qt.core.QDeadlineTimer)
withdeadline = new QDeadlineTimer(QDeadlineTimer.ForeverConstant.Forever)
. -
wait
-
wait
-
wait
Overloaded function for
wait(io.qt.core.QReadWriteLock, io.qt.core.QDeadlineTimer)
withdeadline = new QDeadlineTimer(QDeadlineTimer.ForeverConstant.Forever)
. -
wait
@QtUninvokable public final boolean wait(QReadWriteLock lockedReadWriteLock, QDeadlineTimer deadline) -
wait
-
wakeAll
-
wakeOne
-