Re: [linux-audio-dev] questions to be resolved

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

Subject: Re: [linux-audio-dev] questions to be resolved
From: Paul Davis (pbd_AT_Op.Net)
Date: Tue May 22 2001 - 18:45:40 EEST


>> Yes. That means that be safe, you need to copy every Port, and every
>> Port-owning object. Moreover, in the scheme you propose, its the
>> reader (the audio thread) that makes the copy. And since you still can
>> cause blocking behaviour in the audio thread, i don't see what its
>> solving.
>
>What blocking behaviour?

wmb() may block on some architectures (not on current Intel).
and the memory allocations involved in making a copy may involve
malloc-lib mutexes, page faults and kernel locks via brk(2).

--p


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

This archive was generated by hypermail 2b28 : Tue May 22 2001 - 19:21:46 EEST