Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <support/cleanse.h>
#include <support/lockedpool.h>
#include <climits>
#include <sys/mman.h>
#include <sys/resource.h>
#include <unistd.h>
#include <algorithm>
#include <limits>
#include <stdexcept>
#include <utility>
Go to the source code of this file.
Classes | |
class | PosixLockedPageAllocator |
LockedPageAllocator specialized for OSes that don't try to be special snowflakes. More... | |
Macros | |
#define | MAP_ANONYMOUS MAP_ANON |
Functions | |
static size_t | align_up (size_t x, size_t align) |
Align up to power of 2. More... | |
#define MAP_ANONYMOUS MAP_ANON |
Definition at line 246 of file lockedpool.cpp.
|
inlinestatic |
Align up to power of 2.
Definition at line 39 of file lockedpool.cpp.