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

char * buf
 Buffer to operate on. More...
unsigned int size
 Size of buf. More...
volatile unsigned reads
 total number of reads
volatile unsigned writes
 total number of writes

Field Documentation

◆ buf

char* tsrb::buf

Buffer to operate on.

Definition at line 40 of file tsrb.h.

◆ size

unsigned int tsrb::size

Size of buf.

Definition at line 41 of file tsrb.h.

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