C++ header-only mempool library
#include <mempool.h> int main(int argc, char** argv) { unsigned capacity = 1024; MemPool<int> pool(capacity); for (auto i = 0u; i < capacity * 2; i++) { int *location = pool.allocate(); } }
MemPool
is not thread-safe. If you're trying to use a single memory pool from multiple threads, it can create race conditions.C++ header-only mempool library
Topics Resources License Stars Watchers ForksYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4