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

Reply via email to