All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QMutex Maven / Gradle / Ivy

The newest version!
package io.qt.core;


/**
 * 

Access serialization between threads

*

Java wrapper for Qt class QMutex

*/ public class QMutex extends io.qt.core.QBasicMutex { /** *

See QMutex::QMutex()

*/ public QMutex(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QMutex instance); /** *

See QMutex::tryLock(int)

*/ @io.qt.QtUninvokable public final boolean tryLock(int timeout){ return tryLock_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), timeout); } @io.qt.QtUninvokable private native boolean tryLock_native_int(long __this__nativeId, int timeout); /** *

See QBasicMutex::try_lock()

*/ @io.qt.QtUninvokable public final boolean tryLock(){ return tryLock_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean tryLock_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QMutex(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy