|
The Pedigree Project 0.1
|
#include <Cache.h>
Collaboration diagram for CachePageGuard:Public Member Functions | |
| CachePageGuard (Cache &cache, uintptr_t location) | |
Private Attributes | |
| Cache & | m_Cache |
| uintptr_t | m_Location |
RAII class for managing refcnt increases via lookup().
Use this when you want to perform a lookup() but have many potential exits that would otherwise need an associated release().
| CachePageGuard::CachePageGuard | ( | Cache & | cache, |
| uintptr_t | location | ||
| ) |