Uring.submit

Submits qued SubmissionEntry to be processed by kernel.

  1. int submit(uint want, S* args)
    struct Uring
    nothrow @nogc
    int
    submit
    (
    S
    )
    (
    uint want
    ,
    const S* args
    )
    if (
    is(S == sigset_t) ||
    is(S == io_uring_getevents_arg)
    )
  2. int submit(uint want)
  3. int submit(S* args)
  4. int submit()

Parameters

want uint

number of CompletionEntries to wait for. If 0, this just submits queued entries and returns. If > 0, it blocks until at least wanted number of entries were completed.

Return Value

Type: int

Number of submitted entries on success, -errno on error

Meta