Mirage_sleep
This module defines a target-agnostic MirageOS sleep operation.
sleep_ns n
blocks the current task for n
nanoseconds, treating n
as unsigned.
val new_sleepers : unit -> t list
new_sleepers ()
is used by the scheduler to find at their convenience the tasks that need to be enqueued into their task set. This also empties the list of sleepers.