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: Juhana Sadeharju (kouhia_AT_nic.funet.fi)
Date: Fri Jul 25 2003 - 16:58:35 EEST


>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.

No such optimization flag? Can't believe that compilers are that dump.

Juhana


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 - 17:06:48 EEST