summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-08-06 15:48:28 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-06 15:48:28 (GMT)
commit1b0f790d27cda48137c7114fadc694432a104c90 (patch)
tree912ac9f934c450b2227a9a4c13f225b85740ede6 /src
parent033b53a02fb02c5aec412e3d87ad9661110c6e6e (diff)
downloadQt-1b0f790d27cda48137c7114fadc694432a104c90.zip
Qt-1b0f790d27cda48137c7114fadc694432a104c90.tar.gz
Qt-1b0f790d27cda48137c7114fadc694432a104c90.tar.bz2
QSharedPointer documentation: specify that it is not safe to operate on the same object in different threads
Task-number: QTBUG-12700 Reviewed-by: thiago
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qsharedpointer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qsharedpointer.cpp b/src/corelib/tools/qsharedpointer.cpp
index f102598..5fac960 100644
--- a/src/corelib/tools/qsharedpointer.cpp
+++ b/src/corelib/tools/qsharedpointer.cpp
@@ -67,8 +67,8 @@
QSharedPointer and QWeakPointer are thread-safe and operate
atomically on the pointer value. Different threads can also access
- the same QSharedPointer or QWeakPointer object at the same time
- without need for locking mechanisms.
+ the QSharedPointer or QWeakPointer pointing to the same object at
+ the same time without need for locking mechanisms.
It should be noted that, while the pointer value can be accessed
in this manner, QSharedPointer and QWeakPointer provide no