Don't export QAtomicInt, it's all inline
authorThiago Macieira <thiago.macieira@intel.com>
Mon, 6 Aug 2012 18:38:08 +0000 (20:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Aug 2012 14:40:07 +0000 (16:40 +0200)
commit41379f9580827dec14099a53e25bdd688a3813bf
tree16bda353354628c2e34dba44eba4835483f1ed4f
parent1dca602122d551475354fed2a2673a0f61cf618f
Don't export QAtomicInt, it's all inline

Moreover, exporting it causes the horrible side-effect on Windows
(with MSVC) that the compiler will not inline the functions, but
instead will place indirect calls to the functions in QtCore DLL,
even in release mode. For such a critical piece of code, inlining
is necessary.

Change-Id: Ib31c12f6bf8dc8ece1b51824716a480559753c24
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
src/corelib/thread/qatomic.h