|
hdac SDK
SDK for hdac blockchain development
|
#include <allocators.h>
Public 멤버 함수 | |
| bool | Lock (const void *addr, size_t len) |
| bool | Unlock (const void *addr, size_t len) |
OS-dependent memory page locking/unlocking. Defined as policy class to make stubbing for test possible.
| bool MemoryPageLocker::Lock | ( | const void * | addr, |
| size_t | len | ||
| ) |
Lock memory pages. addr and len must be a multiple of the system page size
| bool MemoryPageLocker::Unlock | ( | const void * | addr, |
| size_t | len | ||
| ) |
Unlock memory pages. addr and len must be a multiple of the system page size
1.8.11