hdac SDK
SDK for hdac blockchain development
정적 Public 멤버 함수 | 모든 멤버 목록
LockedPageManager 클래스 참조

#include <allocators.h>

LockedPageManager에 대한 상속 다이어그램 :
LockedPageManagerBase< MemoryPageLocker >

정적 Public 멤버 함수

static LockedPageManagerInstance ()
 

추가로 상속된 멤버들

- LockedPageManagerBase< MemoryPageLocker >(으)로부터 상속된 Public 멤버 함수
 LockedPageManagerBase (size_t page_size)
 
void LockRange (void *p, size_t size)
 
void UnlockRange (void *p, size_t size)
 
int GetLockedPageCount ()
 

상세한 설명

Singleton class to keep track of locked (ie, non-swappable) memory pages, for use in std::allocator templates.

Some implementations of the STL allocate memory in some constructors (i.e., see MSVC's vector<T> implementation where it allocates 1 byte of memory in the allocator.) Due to the unpredictable order of static initializers, we have to make sure the LockedPageManager instance exists before any other STL-based objects that use secure_allocator are created. So instead of having LockedPageManager also be static-initialized, it is created on demand.


이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: