Nice reading. Only one thing:
On Saturday 12 December 2009 18:47:19 Gabriel M. Beddingfield wrote:
+ Qt 4 has the q_atomic_*() functions.[3] While
they are accessible, they are /not/ a part of
their stable, public API.
Qt has QAtomicInt and QAtomicPointer. Furthermore it has QSharedData and
assorted QSharedPointer(s) used for ref-counting and copy-on-write. All atomic
(on all Qt-supported platforms) and very useful.
Using the header you cited directly actually breaks cross-platform usability.
Have fun,
Arnold