hpx::supervision::testing::failure_detection_sweep_in_flight_for_testing#
Defined in header hpx/supervision_dispatch.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
bool hpx::supervision::testing::failure_detection_sweep_in_flight_for_testing()#
Reports whether failure_detection_loop() currently has one or more await_terminal() calls outstanding against unresponsive peers (i.e. a sweep is mid-flight). Returns false before init() is called, between sweeps, and after finalize(). Not part of the public dispatch API - exists only so tests can deterministically synchronize on a real in-flight sweep instead of sleeping and hoping the loop got there first.