-
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.
[free_list] fixed a silly bug. [job_system] added some spinlocking in…
… job worker threads. this is because moodycamel::concurrentqueue only spins for a very small amount of time before ultimately giving up and doing a proper sleep. a windows sleep timeslice will take at least 15-16ms, which is the entire frame boundary. therefore, its not really reasonable to spin. however, if you spin forever and never sleep, you waste all cpu resources. the new impl is basically trying to be a compromise
- Loading branch information
Showing
3 changed files
with
30 additions
and
5 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