-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to undefined behavior in pthread when passing in large timeout values, the park_timeout call of the timer thread was spinning very tightly and almost continuously causing poll wakeups. This commit changes the behavior to use a blocking park call when the timeout value is large. Fixes #483 Signed-off-by: Nick Stevens <nick@bitcurry.com>
- Loading branch information
1 parent
bfdb617
commit 42a4172
Showing
1 changed file
with
17 additions
and
3 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