-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only scheduler 0 can initiate shutdown (#4543)
prior to this commit, every scheduler thread tried to initiate the shutdown CNF/ACK process if it was unable to `steal` from another scheduler thread even through in practice only scheduler 0 could ever initiate shutdown since it is the only one that receives ACK/BLOCK/SUSPEND messages and has enough information. This commit changes things so that it is explicit that only scheduler 0 initiates the shutdown CNF/ACK process.
- Loading branch information
Showing
1 changed file
with
36 additions
and
31 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