tsrb Struct Reference

thread-safe ringbuffer struct More...

Detailed Description

thread-safe ringbuffer struct

Definition at line 39 of file tsrb.h.

#include <tsrb.h>

Data Fields

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

The documentation for this struct was generated from the following file: