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

Fons Adriaensen fons at kokkinizita.net
Sun Oct 19 17:08:58 UTC 2008

On Sun, Oct 19, 2008 at 12:36:55PM -0400, Paul Coccoli wrote:

> The only time you can get away without atomic ops is on uni-processor.
>  Please cite a reference that says otherwise.

Plaese show us how using a non-atomic addition could go wrong.

> Notice that all the fixes proposed all involve removing the "+=" and
> using only assignment.

First, that is not the same as requiring atomic addition.
Second, it is not true. The one I proposed just does the '+='.
If it's wrong show us how.



Laboratorio di Acustica ed Elettroacustica
Parma, Italia

Lascia la spina, cogli la rosa.

More information about the Linux-audio-dev mailing list