LockedPool::LockedPool

Constructors

Synopses

Declared in <support/lockedpool.h>

Deleted copy constructor; a LockedPool cannot be copied.

LockedPool(LockedPool const& other) = delete;
» more...

Create a new LockedPool. This takes ownership of the MemoryPageLocker, you can only instantiate this with LockedPool(std::move(...)).

explicit
LockedPool(
    std::unique_ptr<LockedPageAllocator> allocator,
    LockingFailed_Callback lf_cb_in = nullptr);
» more...

Parameters

NameDescription
otherThe pool that would have been copied.
allocatorThe page allocator whose ownership the pool takes.
lf_cb_inOptional callback invoked when locking a new arena fails.