hpx::is_stopped_or_shutting_down#
Defined in header hpx/runtime.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
bool hpx::is_stopped_or_shutting_down()#
Test whether the runtime system is currently being shut down.
This function returns whether the runtime system is currently being shut down or not, e.g. whether the current state of the runtime system is hpx::state::stopped or hpx::state::shutdown
Note
This function needs to be executed on a HPX-thread. It will return false otherwise.