Re: [linux-audio-dev] Re: Shared memory

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: Shared memory
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Jul 25 2003 - 17:57:46 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Jul 25 2003 - 19:28:49 EEST