-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting the scheduler is an unsafe operation because it relies on there not being a current task, which is a guarantee the compiler cannot make on its own. Also, a function that returns a pointer is not necessarily unsafe. The operation of using the pointer is where the code becomes unsafe. Signed-off-by: Jon Lange <jlange@microsoft.com>
- Loading branch information
1 parent
ea67f20
commit 0438ef0
Showing
3 changed files
with
30 additions
and
11 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
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