[linux-audio-dev] crossplatform atomics

Niklas Klügel niklas.kluegel at mytum.de
Wed May 24 18:18:19 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jack O'Quin wrote:

> On 5/24/06, Maarten de Boer <mdeboer at iua.upf.edu> 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

if you feel like having a dependency to the qt-core libs you might
consider
using their atomic low-level-operations.

so long...
nuekki
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEdKNr+k24EnBNzsMRAgfEAJ0fDPKoYJEplKTDNV6AJ63E3QjF3wCfTMQr
s7R5O9c7DJHg6GTDS7aZcV8=
=Mebj
-----END PGP SIGNATURE-----




More information about the Linux-audio-dev mailing list