-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes two edge cases in scheduling. The first was observed in mnemos, where adding a timer BEFORE the newest deadline would not be represented in the "time to next ticks" turn report, which made mnemos sleep longer than it should have. The second was found while looking for the first (but not observed to cause any problems), where pending ticks (e.g. not advanced through force) that caused a sleep timer to expire would not be counted in the turn report of expired tasks on the next call to force.
- Loading branch information
1 parent
cb0de4e
commit cbcfc62
Showing
3 changed files
with
107 additions
and
2 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