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
Overloaded function fortryLockForRead(io.qt.core.QDeadlineTimer)
withtimeout = new io.qt.core.QDeadlineTimer()
.final boolean
tryLockForRead
(int timeout) final boolean
tryLockForRead
(QDeadlineTimer timeout) final boolean
Overloaded function fortryLockForRead(io.qt.core.QDeadlineTimer)
.final boolean
Overloaded function fortryLockForWrite(io.qt.core.QDeadlineTimer)
withtimeout = new io.qt.core.QDeadlineTimer()
.final boolean
tryLockForWrite
(int timeout) final boolean
tryLockForWrite
(QDeadlineTimer timeout) final boolean
Overloaded function fortryLockForWrite(io.qt.core.QDeadlineTimer)
.final void
unlock()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QReadWriteLock
-
QReadWriteLock
public QReadWriteLock()Overloaded constructor for
QReadWriteLock(io.qt.core.QReadWriteLock.RecursionMode)
withrecursionMode = io.qt.core.QReadWriteLock.RecursionMode.NonRecursive
.
-
-
Method Details
-
lockForRead
-
lockForWrite
-
tryLockForRead
-
tryLockForRead
-
tryLockForWrite
-
tryLockForWrite
-
unlock
-
tryLockForRead
Overloaded function for
tryLockForRead(io.qt.core.QDeadlineTimer)
withtimeout = new io.qt.core.QDeadlineTimer()
. -
tryLockForRead
Overloaded function for
tryLockForRead(io.qt.core.QDeadlineTimer)
. -
tryLockForWrite
Overloaded function for
tryLockForWrite(io.qt.core.QDeadlineTimer)
withtimeout = new io.qt.core.QDeadlineTimer()
. -
tryLockForWrite
Overloaded function for
tryLockForWrite(io.qt.core.QDeadlineTimer)
.
-