mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
may have memory leak (TBD)
This commit is contained in:
parent
b3ef1ed760
commit
9bc6604faa
@ -22,7 +22,7 @@ using chunk_variable_alloc = variable_alloc<sizeof(void*) * 256 * 1024 /* 2MB(x6
|
|||||||
template <std::size_t Size>
|
template <std::size_t Size>
|
||||||
using static_async_fixed = static_wrapper<async_wrapper<fixed_alloc<Size, chunk_variable_alloc>>>;
|
using static_async_fixed = static_wrapper<async_wrapper<fixed_alloc<Size, chunk_variable_alloc>>>;
|
||||||
|
|
||||||
using async_pool_alloc = variable_wrapper<static_async_fixed>;
|
using async_pool_alloc = static_alloc/*variable_wrapper<static_async_fixed>*/;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
using allocator = allocator_wrapper<T, async_pool_alloc>;
|
using allocator = allocator_wrapper<T, async_pool_alloc>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user