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: Alfons Adriaensen (fons.adriaensen_AT_alcatel.be)
Date: Tue Jul 15 2003 - 12:18:45 EEST


On Tue, Jul 15, 2003 at 11:30:00AM +0300, Juhana Sadeharju wrote:

> No, my test indicates that the memory is not *the same* in the two
> processes. If "shared memory" is something which is the same only
> occasionally, then that is what I have now.

I don't have your original message with the code at hand here, so
this may be a false alarm. Did you think of making all pointers
into shared memory volatile ? IIRC you are testing on a counter
that is incremented by another process - such a small memory access
could easily be optimised away.

-- 
FA


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

This archive was generated by hypermail 2b28 : Tue Jul 15 2003 - 12:27:48 EEST