Author :
mikeb
Date :
2016-10-27 14:04:09
Hash :e97988fe Message :Improve channel ring locking strategy
Make sure to hold the ring buffer lock for the complete duration
of a channel ring I/O operation. For read operations this means
peeking and reading is done uninterrupted and for both reads and
writes this places the buffer space availability check under the
same lock as well.