java.lang.Object
io.qt.QtObject
io.qt.core.QReadWriteLock
- All Implemented Interfaces:
QtObjectInterface
Read-write locking
Java wrapper for Qt class QReadWriteLock
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQReadWriteLock::RecursionMode
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQReadWriteLock(io.qt.core.QReadWriteLock.RecursionMode)
withrecursionMode = io.qt.core.QReadWriteLock.RecursionMode.NonRecursive
.QReadWriteLock
(QReadWriteLock.RecursionMode recursionMode) -
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
- Parameters:
recursionMode
-- Since:
- This function was introduced in Qt 4.4.
-
QReadWriteLock
public QReadWriteLock()Overloaded constructor for
QReadWriteLock(io.qt.core.QReadWriteLock.RecursionMode)
withrecursionMode = io.qt.core.QReadWriteLock.RecursionMode.NonRecursive
.
-
-
Method Details
-
lockForRead
-
lockForWrite
-
tryLockForRead
- Returns:
-
tryLockForRead
- Parameters:
timeout
-- Returns:
-
tryLockForWrite
- Returns:
-
tryLockForWrite
- Parameters:
timeout
-- Returns:
-
unlock
-