-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[job] the unshittening of the job system. use a windows syscall to dr…
…astically reduce the sleep latency. by default its 16ms, which necessitated millions of stupid hacks to try to maintain a balance of responsiveness and minimising spinning. now there is no spinning really at all - job workers are free to go to sleep if concurrentqueue's minimal spinning doesnt catch anything. this is because we can be sure that they dont oversleep by a ridiculously long time - we expect 1-2ms, not 16. removed the concept of job system aggression, and factoring aggression into lua thread-local states. all simplified now.
- Loading branch information
Showing
5 changed files
with
17 additions
and
75 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
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