Project

General

Profile

Revision 88570136

ID8857013663442a00545cfa77de9cc86cb3448fa7
Parent e247ef4d
Child 6fbe093f

Added by Thomas Mullins over 10 years ago

Added LRU eviction to cache. Not tested yet.

View differences:

mainbox/cache.h
2 2
#define CACHE_H
3 3

  
4 4
#define CACHE_SIZE 256
5
#define CACHE_MAX_ENTRIES 160
5 6

  
6 7
typedef void (*cache_func)(unsigned int key);
7 8

  

Also available in: Unified diff