summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qatomic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qatomic.cpp')
-rw-r--r--src/corelib/thread/qatomic.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/corelib/thread/qatomic.cpp b/src/corelib/thread/qatomic.cpp
index d0e61a1cf6c..bcb92b384ae 100644
--- a/src/corelib/thread/qatomic.cpp
+++ b/src/corelib/thread/qatomic.cpp
@@ -316,6 +316,19 @@
*/
/*!
+ \fn template <typename T> void QAtomicInteger<T>::refRelaxed()
+ \internal
+ Atomically increments the value of this QAtomicInteger.
+
+ In contrast to ref(), this uses relaxed semantics, which is
+ all that is needed for reference counting (together with deref's
+ acquire-release semantics).
+ It also doesn't return anything.
+
+ \sa deref(), operator++()
+*/
+
+/*!
\fn template <typename T> T QAtomicInteger<T>::operator++()
\since 5.3