HPX - High Performance ParalleX

PrevUpHomeNext

Function is_running

hpx::is_running — Test whether the runtime system is currently running.

Synopsis

// In header: <hpx/hpx_fwd.hpp>


bool is_running();

Description

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

[Note] Note

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


PrevUpHomeNext