ring.h (284B)
1 #ifndef RING_H 2 #define RING_H 3 4 #include <stdatomic.h> 5 #include <stddef.h> 6 #include <stdint.h> 7 8 #include "benchmark.h" 9 10 struct lf_ring { 11 int foo; 12 }; 13 14 static inline struct benchmark 15 lf_ring_benchmark(void) 16 { 17 return (struct benchmark) {"Lock-free Ring Buffer"}; 18 } 19 20 #endif /* RING_H */