[linux-audio-dev] crossplatform atomics

Maarten de Boer mdeboer at iua.upf.edu
Thu May 25 09:32:52 UTC 2006


> not sure what you mean, but on sparcs, int writes are not atomic unless
> you only use the lower 24 bits.

right, this is exactly the point! 32 bits int might be atomic on a certain
platform, but i have no idea about many others.

in the meantime, a part from joq suggestion of LFDS, and niklas mention of
qt-core libs, i also came accross th glib atomic operations 
  http://developer.gnome.org/doc/API/2.0/glib/glib-Atomic-Operations.html
and the MacOSX atomic functions as in CarbonCore/DriverSynchronization.h

maarten



More information about the Linux-audio-dev mailing list