Typedef wrench::ThreadSafeObjectPoolAllocator¶
Defined in File allocator.hpp
Typedef Documentation¶
-
template<typename
T, typenameArena= HeapArena>
usingwrench::ThreadSafeObjectPoolAllocator= Allocator<PoolAllocator<sizeof(T), std::max(alignof(T), alignof(ThreadSafeFreelist)), ThreadSafeFreelist>, Arena, AlignedHeapAllocator, VoidLock>¶ Defines an object pool allocator for objects of type T, which is thread-safe.
- Template Parameters
T: The type of the objects to allocate from the pool.Arena: The arena for the allocator.