Re: [linux-audio-dev] crossplatform atomics

From: Maarten de Boer <mdeboer@email-addr-hidden>
Date: Thu May 25 2006 - 12:32:52 EEST

> 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
Received on Thu May 25 16:15:08 2006

This archive was generated by hypermail 2.1.8 : Thu May 25 2006 - 16:15:08 EEST