PySide6.QtCore.QBasicReadWriteLock

class QBasicReadWriteLock

Inherited by: QReadWriteLock

Added in version 6.11.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

PySide6.QtCore.QBasicReadWriteLock.StateLockedForRead
PySide6.QtCore.QBasicReadWriteLock.StateLockedForWrite
PySide6.QtCore.QBasicReadWriteLock.StateMask
PySide6.QtCore.QBasicReadWriteLock.Counter
__init__()
contendedTryLockForRead(timeout, dd)
Parameters:
Return type:

bool

contendedTryLockForWrite(timeout, dd)
Parameters:
Return type:

bool

contendedUnlock(dd)
Parameters:

ddvoid

isContendedLockForRead(dd)
Parameters:

ddvoid

Return type:

bool

lock()
lockForRead()
lockForWrite()
lock_shared()
tryLockForRead()
Return type:

bool

tryLockForRead(timeout)
Parameters:

timeoutQDeadlineTimer

Return type:

bool

tryLockForReadInternal(timeout, tsanFlags)
Parameters:
Return type:

bool

tryLockForWrite()
Return type:

bool

tryLockForWrite(timeout)
Parameters:

timeoutQDeadlineTimer

Return type:

bool

tryLockForWriteInternal(timeout, tsanFlags)
Parameters:
Return type:

bool

try_lock()
Return type:

bool

try_lock_shared()
Return type:

bool

unlock()
unlock_shared()