[linux-audio-dev] Re: Shared memory

Steve Harris S.W.Harris at ecs.soton.ac.uk
Fri Jul 25 11:12:01 UTC 2003


On Fri, Jul 25, 2003 at 04:58:35 +0300, Juhana Sadeharju wrote:
> >From: ingo.oeser at informatik.tu-chemnitz.de (Ingo Oeser)
> >
> >For people like you gcc supports -fvolatile.
> >
> >Your code will be really slow, but you save typing 'volatile' where the
> >C-Compiler needs it.
> 
> So, there is no "do not optimize away apperent volatile variables"?
> Volatile variables in shmclient are easily recognized -- at least
> I recognized them. It is the array variable which content is only
> read but never written.

Nothing about that means that its definatly volatile, its just a hint.

- Steve



More information about the Linux-audio-dev mailing list