init_runtime_local

The contents of this module can be included with the header hpx/modules/init_runtime_local.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/init_runtime_local.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

namespace hpx
namespace local

Functions

int init(std::function<int(hpx::program_options::variables_map&)> f, int argc, char **argv, init_params const &params = init_params(), )
int init(std::function<int(int, char**)> f, int argc, char **argv, init_params const &params = init_params(), )
int init(std::function<int()> fint argc, char **argv, init_params const &params = init_params(), )
int init(std::nullptr_t, int argc, char **argv, init_params const &params = init_params())
bool start(std::function<int(hpx::program_options::variables_map&)> f, int argc, char **argv, init_params const &params = init_params(), )
bool start(std::function<int(int, char**)> f, int argc, char **argv, init_params const &params = init_params(), )
bool start(std::function<int()> fint argc, char **argv, init_params const &params = init_params(), )
bool start(std::nullptr_t, int argc, char **argv, init_params const &params = init_params())
int finalize(error_code &ec = throws)
int stop(error_code &ec = throws)
int suspend(error_code &ec = throws)
int resume(error_code &ec = throws)
struct init_params

Public Members

std::reference_wrapper<hpx::program_options::options_description const> desc_cmdline = detail::default_desc
std::vector<std::string> cfg
startup_function_type startup
shutdown_function_type shutdown
hpx::resource::partitioner_mode rp_mode = ::hpx::resource::mode_default
hpx::local::detail::rp_callback_type rp_callback