Changeset View
Changeset View
Standalone View
Standalone View
src/support/lockedpool.cpp
Show All 21 Lines | |||||
#else | #else | ||||
#include <climits> // for PAGESIZE | #include <climits> // for PAGESIZE | ||||
#include <sys/mman.h> // for mmap | #include <sys/mman.h> // for mmap | ||||
#include <sys/resource.h> // for getrlimit | #include <sys/resource.h> // for getrlimit | ||||
#include <unistd.h> // for sysconf | #include <unistd.h> // for sysconf | ||||
#endif | #endif | ||||
#include <algorithm> | #include <algorithm> | ||||
#include <memory> | |||||
#ifdef ARENA_DEBUG | #ifdef ARENA_DEBUG | ||||
#include <iomanip> | #include <iomanip> | ||||
#include <iostream> | #include <iostream> | ||||
#endif | #endif | ||||
LockedPoolManager *LockedPoolManager::_instance = nullptr; | LockedPoolManager *LockedPoolManager::_instance = nullptr; | ||||
std::once_flag LockedPoolManager::init_flag; | std::once_flag LockedPoolManager::init_flag; | ||||
▲ Show 20 Lines • Show All 371 Lines • Show Last 20 Lines |