java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QReadWriteLock
- All Implemented Interfaces:
QtObjectInterface
public class QReadWriteLock extends QtObject
Read-write locking
Java wrapper for Qt class QReadWriteLock
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QReadWriteLock.RecursionMode
Java wrapper for Qt enum QReadWriteLock::RecursionMode -
Constructor Summary
Constructors Modifier Constructor Description QReadWriteLock()
Overloaded constructor forQReadWriteLock(io.qt.core.QReadWriteLock.RecursionMode)
withrecursionMode = io.qt.core.QReadWriteLock.RecursionMode.NonRecursive
.QReadWriteLock(QReadWriteLock.RecursionMode recursionMode)
protected
QReadWriteLock(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
lockForRead()
void
lockForWrite()
boolean
tryLockForRead()
boolean
tryLockForRead(int timeout)
boolean
tryLockForWrite()
boolean
tryLockForWrite(int timeout)
void
unlock()
-
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