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:[EMAIL PROTECTED] 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!
- Re: [linux-audio-dev] questio... Paul Davis
- [linux-audio-dev] It's time t... Abramo Bagnara
- Re: [linux-audio-dev] It's ti... Karl MacMillan
- Re: [linux-audio-dev] questio... Paul Davis
- Re: [linux-audio-dev] questio... Abramo Bagnara
- Re: [linux-audio-dev] questio... Paul Davis
- Re: [linux-audio-dev] questio... Karl MacMillan
- Re: [linux-audio-dev] questio... Paul Davis
- Re: [linux-audio-dev] questio... Abramo Bagnara
- Re: [linux-audio-dev] questio... Paul Davis
- Re: [linux-audio-dev] questio... Abramo Bagnara
- Re: [linux-audio-dev] questio... Paul Davis
- Re: [linux-audio-dev] questio... Abramo Bagnara
- Re: [linux-audio-dev] questio... Jay Ts
- Re: [linux-audio-dev] questio... Abramo Bagnara
- Re: [linux-audio-dev] questio... Richard C. Burnett
- Re: [linux-audio-dev] questions to be resolved Karl MacMillan
- Re: [linux-audio-dev] questions to be resolved Paul Davis
- Re: [linux-audio-dev] questions to be resolved Abramo Bagnara
- Re: [linux-audio-dev] questions to be resolved Karl MacMillan
- Re: [linux-audio-dev] questions to be resolved Vincent Touquet
