Remove QBasicAtomic::tryLock with a timer
The non-futex implementation does not support timed locks in QBasicMutex. That is only supported in QMutex (due to the destructor). Change-Id: I46d33a66a36e05c8a4344823537178e80a6ddd76 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
0cc97411d5
commit
bd5b4de839
@ -75,8 +75,8 @@ public:
|
||||
unlockInternal();
|
||||
}
|
||||
|
||||
bool tryLock(int timeout = 0) QT_MUTEX_LOCK_NOEXCEPT {
|
||||
return fastTryLock() || lockInternal(timeout);
|
||||
bool tryLock() Q_DECL_NOTHROW {
|
||||
return fastTryLock();
|
||||
}
|
||||
|
||||
bool isRecursive();
|
||||
|
Loading…
Reference in New Issue
Block a user