OsPoller.submitPollAddWithTimeout

private int submitPollAddWithTimeout(uint slotIndex, int timeoutMs, ulong timeoutUserData) @trusted nothrow @nogc

Submit a poll_add SQE chained with a linked timeout.

The poll operation will be cancelled if it does not complete within timeoutMs. On timeout, the poll CQE arrives with -ECANCELED and the timeout CQE arrives with timeoutUserData.

Parameters

slotIndexRegistration slot index.
timeoutMsPer-operation timeout in milliseconds.
timeoutUserDataUser data for the timeout CQE.

Returns

0 on success, or -1 on failure.