Module qtjambi
Package io.qt.core

Class QRecursiveMutex

java.lang.Object
io.qt.QtObject
io.qt.core.QRecursiveMutex
All Implemented Interfaces:
QtObjectInterface

public class QRecursiveMutex extends QtObject

Access serialization between threads

Java wrapper for Qt class QRecursiveMutex

Since:
This class was introduced in Qt 5.14.
  • Constructor Details

  • Method Details

    • lock

      @QtUninvokable public final void lock()

      See QRecursiveMutex::lock()

    • tryLock

      @QtUninvokable public final boolean tryLock(int timeout)

      See QRecursiveMutex::tryLock(int)

      Parameters:
      timeout -
      Returns:
    • unlock

      @QtUninvokable public final void unlock()

      See QRecursiveMutex::unlock()

    • tryLock

      @QtUninvokable public final boolean tryLock()

      Overloaded function for tryLock(int) with timeout = 0.

      Returns:
      locked