mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
13 lines
274 B
C++
13 lines
274 B
C++
|
|
#include "libpmr/new.h"
|
|
|
|
LIBPMR_NAMESPACE_BEG_
|
|
|
|
auto get_thread_block_pool_map() noexcept
|
|
-> std::unordered_map<std::size_t, block_collector *> & {
|
|
thread_local std::unordered_map<std::size_t, block_collector *> instances;
|
|
return instances;
|
|
}
|
|
|
|
LIBPMR_NAMESPACE_END_
|