SlotPool.allocate

Token allocate() @safe nothrow @nogc

Allocate a token from the free list.

Returns

Valid token on success, or Token.invalid with errno set to

ENOMEM when the pool is exhausted.