Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Streamline exit / END phaser handling
- falling off the end of a program / exit now share END phaser handling - the first value given to exit() is what will be returned to the OS - END blocks can also execute exit(), so we could nest - only *one* thread will execute the END phasers on first come/served basis - before, multiple threads could be doing this
- Loading branch information
Showing
3 changed files
with
31 additions
and
21 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