hpx::is_running

Contents

hpx::is_running#

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

Test whether the runtime system is currently running.

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

Note

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