[LAD] Atomic Operations

Arnold Krille arnold at arnoldarts.de
Sat Dec 12 19:31:49 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20091212/0c127cc6/attachment.pgp>


More information about the Linux-audio-dev mailing list