Skip to content

loop: expose io_uring setup flags through Options#228

Open
floatdrop wants to merge 1 commit into
mitchellh:mainfrom
zoxy-io:zoxy-ring-flags
Open

loop: expose io_uring setup flags through Options#228
floatdrop wants to merge 1 commit into
mitchellh:mainfrom
zoxy-io:zoxy-ring-flags

Conversation

@floatdrop

Copy link
Copy Markdown

Resolves the io_uring backend's init TODO: callers that own the ring's threading discipline can request e.g. IORING_SETUP_SINGLE_ISSUER | IORING_SETUP_COOP_TASKRUN | IORING_SETUP_DEFER_TASKRUN. Default 0 keeps today's behavior. The Options doc records the DEFER_TASKRUN contract: completion task-work only flushes on GETEVENTS entries, so such a loop must run in a waiting mode.

Resolves the io_uring backend's init TODO: callers that own the ring's
threading discipline can request e.g. IORING_SETUP_SINGLE_ISSUER |
IORING_SETUP_COOP_TASKRUN | IORING_SETUP_DEFER_TASKRUN. Default 0 keeps
today's behavior. The Options doc records the DEFER_TASKRUN contract:
completion task-work only flushes on GETEVENTS entries, so such a loop
must run in a waiting mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant