Re: [LAD] Atomic Operations

From: Arnold Krille <arnold@email-addr-hidden>
Date: Sat Dec 12 2009 - 21:31:49 EET

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Received on Sun Dec 13 00:15:03 2009

This archive was generated by hypermail 2.1.8 : Sun Dec 13 2009 - 00:15:03 EET