java.lang.Object
io.qt.QtObject
io.qt.core.QMutexLocker
- All Implemented Interfaces:
QtObjectInterface
,AutoCloseable
Convenience class that simplifies locking and unlocking mutexes
Java wrapper for Qt class QMutexLocker<QBasicMutex>
-
Constructor Summary
-
Method Summary
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMutexLocker
- Parameters:
mutex
-- Since:
- This function was introduced in Qt 6.4.
-
QMutexLocker
- Parameters:
mutex
-- Since:
- This function was introduced in Qt 6.4.
-
-
Method Details
-
isLocked
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
mutex
- Returns:
-
relock
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 6.4.
-
unlock
-
close
Deletes the underlying native object.- Specified by:
close
in interfaceAutoCloseable
-