-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Threads.Condition variables in Select.
Note that you need to unlock the condition inside the body of your select, which is super annoying and kind of makes it not-worth-it to support Condition variables. It would probably be better to just have an assertion error if you try to wait on a condition variable... BUT, anyway, this commit fixes the waiting to support condition variables correctly, I'm pretty sure! :)
- Loading branch information
Showing
2 changed files
with
129 additions
and
3 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