-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move scheduler to use blocking mutexes
This will improve the performance of the scheduler by quite a bit since the scheduler will not need to context switch very much. The big change here is that `do_try_match()` will now run in a spawn and is notified when it needs to be run. This will add another layer of improvements, since this function is so expensive to run, it allows many changes to tasks<->workers to be queued up and run the matching all at once instead of each time any change happens.
- Loading branch information
Showing
3 changed files
with
161 additions
and
70 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
Oops, something went wrong.