Re: [LAU] Simple, easy multithreaded circular buffer library for Linux?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Friday, October 17, 2008 - 12:54 pm

>> The Portaudio code looks more and more robust to me. It's also

gcc provides built-in memory barriers, which are straight-forward to
use ... beside that, one could use an abstraction layer, providing
assembler code (iirc, portaudio implements memory barriers for multiple
platforms as macros) ...

there is also the atomic_ops project [1], providing atomic operations for
multiple platforms ... it had some issues, when i first tried it two
years ago, but they seem to be resolved now ...

best, tim

[1] http://www.hpl.hp.com/research/linux/atomic_ops/

--
tim@klingt.org
http://tim.klingt.org

art is short - life is long
Jack Kerouac

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]