-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the boost::condition_variable used in fc's task scheduler with
a std::condition_variable. The boost::condition_variable's wait_for/ wait_until methods misbehaved when run under `faketime --exclude-monotonic`, which we are using in our CI tests. That would cause any thread with a task scheduled in the future to busy-wait for the scheduled time to arrive instead of sleeping. std::condition_variables don't have this problem.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 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