-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructured dispatch to calculate wait after dispatching callbacks
Event callbacks may take a non-trivial amount of time. This can cause a pre-calculated wait to become inaccurate. Calculating the wait after possibly requeueing events also removes the need for the redundant semaphore for periodic events.
- Loading branch information
Showing
1 changed file
with
19 additions
and
22 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