java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QReadWriteLock
- All Implemented Interfaces:
QtObjectInterface
Read-write locking
Java wrapper for Qt's class QReadWriteLock
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QReadWriteLock::RecursionModeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQReadWriteLock(io.qt.core.QReadWriteLock.RecursionMode)
withrecursionMode = io.qt.core.QReadWriteLock.RecursionMode.NonRecursive
.QReadWriteLock
(QReadWriteLock.RecursionMode recursionMode) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
final boolean
final boolean
tryLockForRead
(int timeout) final boolean
final boolean
tryLockForWrite
(int timeout) final void
unlock()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QReadWriteLock
public QReadWriteLock()Overloaded constructor for
QReadWriteLock(io.qt.core.QReadWriteLock.RecursionMode)
withrecursionMode = io.qt.core.QReadWriteLock.RecursionMode.NonRecursive
. -
QReadWriteLock
-
QReadWriteLock
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
lockForRead
-
lockForWrite
-
tryLockForRead
-
tryLockForRead
-
tryLockForWrite
-
tryLockForWrite
-
unlock
-