RingBuffer
Description
- Derived from
-
Disposable abstract
ICapacity
A ring buffer management structure, without any actual data storage.
Public / Constructors
RingBuffer
Creates a new instance of RingBuffer.
All methods of RingBuffer must only be called when the calling thread owns the given monitor opt.
Public / Methods
Notify
Calls the IBeginEndSync.NotifyWaiting method on the Monitor object that belongs to this RingBuffer.
ReadFinish
Finished reading all available buffer elements.
After this method returns, the Notify method must be called.
- See also
Wait
Calls the IBeginEndSync.WaitForNotify method on the Monitor object that belongs to this RingBuffer.
WriteFinish
Finishes writing a number of buffer elements.
After this method returns, the Notify method must be called.
- See also