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: Abramo Bagnara (abramo_AT_alsa-project.org)
Date: Tue May 22 2001 - 19:51:24 EEST


Paul Davis wrote:
>
> >> 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).

How many *ns*? ;-))

> and the memory allocations involved in making a copy may involve
> malloc-lib mutexes, page faults and kernel locks via brk(2).

No memory allocation is needed. Please give a look again to my pseudo
code.

Does it exists in English the term "evil's lawyer"?

-- 
Abramo Bagnara                       mailto:abramo_AT_alsa-project.org

Opera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy

ALSA project http://www.alsa-project.org It sounds good!


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

This archive was generated by hypermail 2b28 : Thu May 24 2001 - 05:35:33 EEST