summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qmutex_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex_linux.cpp b/src/corelib/thread/qmutex_linux.cpp
index e2842a670b..a93295881e 100644
--- a/src/corelib/thread/qmutex_linux.cpp
+++ b/src/corelib/thread/qmutex_linux.cpp
@@ -244,7 +244,7 @@ void QBasicMutex::unlockInternal() Q_DECL_NOTHROW
Q_UNUSED(d);
Q_ASSERT(!isRecursive());
- d_ptr.fetchAndStoreRelease(0);
+ d_ptr.storeRelease(0);
_q_futex(&d_ptr, FUTEX_WAKE, 1, 0);
}