diff options
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r-- | src/cachemanager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h index 19749a7..264f644 100644 --- a/src/cachemanager.h +++ b/src/cachemanager.h @@ -101,12 +101,14 @@ private: typedef struct { bool active; cacheid_t id; + size_t pos; cmd_t cmd; } event_t; - CacheManager::event_t createEvent(cacheid_t id, cmd_t type); + CacheManager::event_t createLoadNextEvent(cacheid_t id, size_t pos, cmd_t type); void loadNext(cacheid_t id); void pushEvent(event_t e); + const cache_t getNextCache(cacheid_t id); // Protected by mutex std::list<event_t> eventqueue; |