[linux-audio-dev] Re: [Jackit-devel] questions about diskthread/process() synchronization

2002-11-13 Thread Kai Vehmanen
On Wed, 13 Nov 2002, Paul Davis wrote: >>my conclusion is that the level of atomicity provided by >>linux asm-arch/atomic.h is not needed to implement >>single-reader-single-writer lock-free buffers. > this is true unless the pointer/index isn't atomic. since on SMP sparc > systems, the arrangem

[linux-audio-dev] Re: [Jackit-devel] questions about diskthread/process() synchronization

2002-11-13 Thread Paul Davis
>Actually I've spent some time studying this issue and >my conclusion is that the level of atomicity provided by >linux asm-arch/atomic.h is not needed to implement >single-reader-single-writer lock-free buffers. this is true unless the pointer/index isn't atomic. since on SMP sparc systems, th

[linux-audio-dev] Re: [Jackit-devel] questions about diskthread/process() synchronization

2002-11-13 Thread Kai Vehmanen
Btw; I'll cc'd this to lad, as this is a topic that has been discussed there _many_ times. More specifically the SMP-sparc case has been mentioned quite a few times but without specific details. For lad-only readers, see the jackit-devel archives for the whole thread. On