Re: [LAU] Jack ringbuffer question

From: Paul Davis <paul@email-addr-hidden>
Date: Fri Dec 04 2015 - 00:52:02 EET

On Thu, Dec 3, 2015 at 5:46 PM, Will Godfrey <willgodfrey@email-addr-hidden>
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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Dec 4 04:15:02 2015

This archive was generated by hypermail 2.1.8 : Fri Dec 04 2015 - 04:15:02 EET