-
-
Notifications
You must be signed in to change notification settings - Fork 4
Thread control yield key #41
Copy link
Copy link
Open
Labels
interfacesRelates to interfaces provided by the kernelRelates to interfaces provided by the kernel
Milestone
Metadata
Metadata
Assignees
Labels
interfacesRelates to interfaces provided by the kernelRelates to interfaces provided by the kernel
Type
Fields
Give feedbackNo fields configured for Feature.
The
yieldkey (WO) on the thread control (v0) interface is dual-function - writing a0to it performs an immediate yield of the time slot, marking the thread for rescheduling.Writing a non-zero value reschedules the thread until after the number of nanoseconds have elapsed.