java.lang.Object
io.qt.QtObject
io.qt.core.QBasicMutex
io.qt.core.QMutex
- All Implemented Interfaces:
QtObjectInterface
Access serialization between threads
Java wrapper for Qt class QMutex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
tryLock
(int timeout) final boolean
tryLock
(QDeadlineTimer timeout) final boolean
tryLock
(QDeadlineTimer.ForeverConstant timeout) Overloaded function fortryLock(io.qt.core.QDeadlineTimer)
.final boolean
tryLockFor
(TemporalAmount duration) final boolean
tryLockUntil
(Temporal timePoint) Methods inherited from class io.qt.core.QBasicMutex
lock, tryLock, unlock
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMutex
public QMutex()See
QMutex::
QMutex()
-
-
Method Details
-
tryLock
- Parameters:
timeout
-- Returns:
- Since:
- This function was introduced in Qt 6.6.
-
tryLock
- Parameters:
timeout
-- Returns:
-
tryLockFor
-
tryLockUntil
-
tryLock
Overloaded function for
tryLock(io.qt.core.QDeadlineTimer)
.
-