hpx::supervision::is_initialized

Contents

hpx::supervision::is_initialized#

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::is_initialized() noexcept#

Returns whether the supervision-dispatch runtime for this locality is currently active, i.e. has completed init() and has not yet been torn down by finalize().

Note

This function never blocks and performs a single atomic load; it is safe to call from any thread, including while init() or finalize() is concurrently in flight.

Returns:

true if the lifecycle state is active, false if it is uninitialized, initializing, or finalizing.