lockfree

lockfree.git
git clone git://git.lenczewski.org/lockfree.git
Log | Files | Refs | README | LICENSE

lru.h (277B)


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