nothings / single_file_libs

List of single-file C/C++ libraries.
8.88k stars 584 forks source link

Submission: Thread/core safe FIFO #123

Open buserror opened 6 years ago

buserror commented 6 years ago

Works from 8 bits AVR to multi core 64 bits etc. Restricted to power of two sizes; has some provision for 'look ahead' too... I've been using it for years and years on multitude of projects!

One .h file!

https://github.com/buserror/simavr/blob/master/simavr/sim/fifo_declare.h