[LAU] Jack ringbuffer question

From: Will Godfrey <willgodfrey@email-addr-hidden>
Date: Fri Dec 04 2015 - 00:46:01 EET

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.

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
_______________________________________________
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