The Pedigree Project  0.1
Public Member Functions | Private Attributes | List of all members
CachePageGuard Class Reference

#include <Cache.h>

+ Collaboration diagram for CachePageGuard:

Public Member Functions

 CachePageGuard (Cache &cache, uintptr_t location)
 

Private Attributes

Cachem_Cache
 
uintptr_t m_Location
 

Detailed Description

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().

Definition at line 439 of file Cache.h.


The documentation for this class was generated from the following files: