ddc
Classes | Macros
LRUCache.h File Reference
#include "../CommonLib/ddcConfig.h"
#include <list>
#include <map>
#include <pthread.h>
Include dependency graph for LRUCache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ddcLRUCache< Key, Val >
 generic least-recently-used cache template More...
 

Macros

#define DDC_IFPTHREAD(x)   x
 
#define DDC_IFPTHREADELSE(x, y)   x
 
#define DDC_DEFAULT_LRU_CACHE_CAPACITY   1024
 default cache capacity More...
 

Macro Definition Documentation

◆ DDC_IFPTHREAD

#define DDC_IFPTHREAD (   x)    x

◆ DDC_IFPTHREADELSE

#define DDC_IFPTHREADELSE (   x,
 
)    x

◆ DDC_DEFAULT_LRU_CACHE_CAPACITY

#define DDC_DEFAULT_LRU_CACHE_CAPACITY   1024

default cache capacity