thread-safe ringbuffer struct
More...
thread-safe ringbuffer struct
Definition at line 39 of file tsrb.h.
#include <tsrb.h>
|
uint8_t * | buf |
| Buffer to operate on.
|
|
unsigned int | size |
| Size of buffer, must be power of 2.
|
|
unsigned | reads |
| total number of reads
|
|
unsigned | writes |
| total number of writes
|
|
◆ buf
Buffer to operate on.
Definition at line 40 of file tsrb.h.
◆ reads
total number of reads
Definition at line 42 of file tsrb.h.
◆ size
Size of buffer, must be power of 2.
Definition at line 41 of file tsrb.h.
◆ writes
total number of writes
Definition at line 43 of file tsrb.h.
The documentation for this struct was generated from the following file: