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