-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The routine k_reschedule() allows an application to manually force a schedule point. Although similar to k_yield(), it has different properties. The most significant difference is that k_yield() if invoked from a cooperative thread will voluntarily give up execution control to the next thread of equal or higher priority while k_reschedule() will not. Applications that play with EDF deadlines via k_thread_deadline_set() may need to use k_reschedule() to force a reschedule. Signed-off-by: Peter Mitsis <[email protected]>
- Loading branch information
1 parent
3f4ff78
commit 669f2c4
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters