[linux-audio-dev] userspace atomic primitives for multithread and SMP applications?

Ingo Oeser ingo.oeser at informatik.tu-chemnitz.de
Fri Aug 22 11:14:00 UTC 2003


Hi Jack,

On Wed, Aug 20, 2003 at 10:35:55PM -0500, Jack O'Quin wrote:
> Which version of atomicity.h do you use?  I see more than one in my
> Debian woody system.
 
I always copy the right one for the arch I wish to support.

> To compile my application for all supported platforms, I would need to
> collect all these header files and wrap them with appropriate
> #ifdef's, right?  Or else, I could put them in subdirectories and
> select the right one at ./configure time.

Yes, there is no other way to include that kind of code.
This kind of code should actually be in the compiler, but they
don't seem to care.

Regards

Ingo Oeser



More information about the Linux-audio-dev mailing list