License
Boost Software License, Version 1.0
Slot allocator for the Windows event loop.
This module provides capacity normalization and token packing utilities used by the Windows event loop watcher slot management.
size_t normalizedWatcherCapacity(size_t requested) pure @safe nothrow @nogcNormalize a requested watcher capacity to a sensible minimum.size_t normalizedEventCapacity(size_t requested) pure @safe nothrow @nogcNormalize a requested event capacity to a sensible minimum.size_t normalizedDnsCapacity(size_t requested) pure @safe nothrow @nogcNormalize a DNS capacity value (no minimum enforced).uint nextGeneration(uint generation) pure @safe nothrow @nogcAdvance a generation counter, skipping zero.ulong packToken(Token token) pure @safe nothrow @nogcPack a token into a 64-bit value for use as IOCP completion key.Token unpackToken(ulong userData) pure @safe nothrow @nogcUnpack a 64-bit IOCP completion key into a token.