-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
563: Updates to `Parker` r=taiki-e a=Lucretiel - No longer a possibility for a spurious wake (previously possible if using a timeout), and removed references to spurious wake in the documentation. - Implementation updates to `park`: now deadline based, and unified the code paths between timeout and no-timeout versions - **Breaking Change** `park_timeout` and `park_deadline` now report the reason for their return (timeout or `unpark`) in an enum. If you'd rather not have this breaking change, I'm happy to revert that side of it and just focus on the spurious awakening prevention stuff. Fixes #482 Co-authored-by: Nathan West <Lucretiel@gmail.com> Co-authored-by: Nathan West <Lucretiel@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
59 additions
and
47 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