Skip to content

Commit

Permalink
man/io_uring_prep_timeout: specify the default clock source
Browse files Browse the repository at this point in the history
If no clock source is specified for a timeout, then CLOCK_MONOTONIC is
used.

Link: #1308
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Dec 29, 2024
1 parent c5eead2 commit 1a19d04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/io_uring_prep_timeout.3
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ IORING_CQE_F_MORE is set if more timeouts are expected. The value specified in
is the number of repeats. A value of 0 means the timeout is indefinite and can
only be stopped by a removal request. Available since the 6.4 kernel.
.PP
If no alternate clock source is given in the above flags, then
.B CLOCK_MONOTONIC
is used.

The timeout completion event will trigger if either the specified timeout
has occurred, or the specified number of events to wait for have been posted
to the CQ ring.
Expand Down

0 comments on commit 1a19d04

Please sign in to comment.