Ripples 1.0
High Performant Software Architecture For Transaction Processing
Loading...
Searching...
No Matches
lru_cache.h
1
35#ifndef LRU_CACHE_H
36#define LRU_CACHE_H
37
38#include <uthash/uthash.h>
39
41#define LRU_CACHE_ADD(head, add) \
42 HASH_ADD(hh, head, cid, sizeof(uint64_t), add)
43
45#define LRU_CACHE_DEL(head, del) \
46 HASH_DELETE(hh, head, del)
47
48#endif /* End of LRU_CACHE_H */
49