Re: [linux-audio-dev] crossplatform atomics

From: Jack O'Quin <jack.oquin@email-addr-hidden>
Date: Wed May 24 2006 - 18:41:59 EEST

On 5/24/06, Maarten de Boer <mdeboer@email-addr-hidden> wrote:
> Hello,
>
> I am looking for a cross-platform implementation of an atomic
> integer.
>
> Under Linux, a build an c++ class "atomic" around asm/atomic.h,
> (which I can use as if it where an int), but I'd like to have a
> solution that also works on Windows XP and Mac OS X.

PortAudio developer Ross Bencina has started a new project to
address this need, including a set of lock-free algorithms based
on the atomic primitives.

   http://www.audiomulch.com/~rossb/code/lockfree/liblfds/

I believe this will be very useful to many audio developers.
But, it is still in early stages of design. There are pointers to
existing implementations in this Wiki...

  http://works.music.columbia.edu/LFDS

-- 
 joq
Received on Wed May 24 20:15:06 2006

This archive was generated by hypermail 2.1.8 : Wed May 24 2006 - 20:15:06 EEST