java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMutex
- All Implemented Interfaces:
QtObjectInterface
public class QMutex extends QtObject
Access serialization between threads
Java wrapper for Qt class QMutex
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QMutex.RecursionMode
Java wrapper for Qt enum QMutex::RecursionMode -
Constructor Summary
Constructors Modifier Constructor Description QMutex()
See QMutex::QMutex()QMutex(QMutex.RecursionMode mode)
protected
QMutex(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description boolean
isRecursive()
void
lock()
See QMutex::lock()boolean
tryLock()
Overloaded function fortryLock(int)
withtimeout = 0
.boolean
tryLock(int timeout)
void
unlock()
See QMutex::unlock()
-
Constructor Details
-
QMutex
public QMutex()See QMutex::QMutex()
-
QMutex
-
QMutex
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isRecursive
-
lock
See QMutex::lock()
-
tryLock
Overloaded function for
tryLock(int)
withtimeout = 0
. -
tryLock
-
unlock
See QMutex::unlock()
-