|
Nil RTOS
|
A thread safe FIFO with statistics. More...
#include <NilFIFO.h>
Public Member Functions | |
| void | countOverrun () |
| size_t | dataCount () |
| size_t | freeCount () |
| size_t | maxOverrunCount () |
| size_t | minimumFreeCount () |
| NilStatsFIFO () | |
| size_t | overrunCount () |
| void | printStats (Print *pr) |
| void | signalData () |
| void | signalFree () |
| Type * | waitData (systime_t time) |
| Type * | waitFree (systime_t time) |
A thread safe FIFO with statistics.
A FIFO for a single producer/consumer pair with statistics.
|
inline |
constructor
|
inline |
Increment overrun count
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Count of overruns since last call to signalData().
|
inline |
Print FIFO statistics.
| [in] | pr | Print stream for the output. |
|
inline |
Signal that a data record is ready.
|
inline |
Signal that a record is free.
|
inline |
Wait for a data record.
| [in] | time | the number of ticks before the operation timeouts, the following special values are allowed:
|
|
inline |
Wait for a free record.
| [in] | time | the number of ticks before the operation timeouts, the following special values are allowed:
|
1.8.6