mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
Fix ring buffer interface description
The maximum number of elements in the ring buffer is QUEUE_SIZE - 1. Fixes #240.
This commit is contained in:
parent
54051a7bb2
commit
8a7fbe3973
@ -22,7 +22,8 @@
|
||||
* Ring buffer template
|
||||
*
|
||||
* \param ET element type
|
||||
* \param QUEUE_SIZE maximum number of ring-buffer elements
|
||||
* \param QUEUE_SIZE number of element slots in the ring. the maximum number of
|
||||
* ring-buffer elements is QUEUE_SIZE - 1
|
||||
*
|
||||
* The ring buffer manages its elements as values.
|
||||
* When inserting an element, a copy of the element is
|
||||
|
Loading…
Reference in New Issue
Block a user