qt5base-lts/tests/auto/corelib/tools/qsharedpointer
Bradley T. Hughes 409b3b42a2 Remove cast and assignment operators from QAtomicInt and QAtomicPointer
This is a source incompatible change. There is concern that the
convenience of the implicit cast and assignment operators can lead to
misuse. Several commits have already been done that remove excess use
of the implicit cast, which is a *volatile* read every time it's used.

Users of the QAtomic* API should have to think about when they are
loading the value, and if they do or don't need the acquire memory
barrier on load. The code that people would write using this API is
meant to be multi-threaded, concurrent, and correct. The API should not
allow them to inadvertently, possibly unknowingly, shoot themselves
in the foot.

SC-break-rubber-stamped-by: Lars Knoll

Change-Id: I88fbc26d9db7b5ec80a58ad6271ffa13bbfd191f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2011-12-02 13:21:32 +01:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
externaltests.cpp Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
externaltests.h Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
externaltests.pri Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
forwarddeclaration.cpp Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
forwarddeclared.cpp Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
forwarddeclared.h Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
qsharedpointer.pro Fixed installation of corelib tests 2011-12-01 09:12:52 +01:00
tst_qsharedpointer.cpp Remove cast and assignment operators from QAtomicInt and QAtomicPointer 2011-12-02 13:21:32 +01:00
wrapper.cpp Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
wrapper.h Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00