Constructors

Synopses

Declared in <support/lockedpool.h>

Deleted copy constructor; a LockedPool cannot be copied.

LockedPool(LockedPool const& other) = delete;

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);

Parameters

Name

Description

other

The pool that would have been copied.

allocator

The page allocator whose ownership the pool takes.

lf_cb_in

Optional callback invoked when locking a new arena fails.

Created with MrDocs