Skip to content

Replace the boost::condition_variable used in fc's task scheduler

Eric Frias requested to merge replace-boost-synch-primitives into develop

... 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.

Merge request reports