hpx::is_stopped

Contents

hpx::is_stopped#

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()#

Test whether the runtime system is currently stopped.

This function returns whether the runtime system is currently stopped or not, e.g. whether the current state of the runtime system is hpx::state::stopped

Note

This function needs to be executed on a HPX-thread. It will return false otherwise.