tsrb Struct Reference

thread-safe ringbuffer struct More...

Detailed Description

Definition at line 40 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

char* tsrb::buf

Definition at line 41 of file tsrb.h.

unsigned int tsrb::size

Definition at line 42 of file tsrb.h.

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