Re: Jack ringbuffer question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Dec 3, 2015 at 5:46 PM, Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx> wrote:
If I bracket the write call with a mutex to protect the data block from
corruption as it's actually being written does that interfere with the read
operation?

Presumably this needs to compare the write pointer with the read one to find
out if there is anything to read.

(1) wrong mailing list
(2) the point of using ringbuffers is to avoid using a mutex
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux