HPX - High Performance ParalleX

PrevUpHomeNext

Function terminate

hpx::terminate — Terminate any application non-gracefully.

Synopsis

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


BOOST_ATTRIBUTE_NORETURN void terminate();

Description

The function hpx::terminate is the non-graceful way to exit any application immediately. It can be called from any locality and will terminate all localities currently used by the application.

[Note] Note

This function will cause HPX to call std::terminate() on all localities associated with this application. If the function is called not from an HPX thread it will fail and return an error using the argument ec.


PrevUpHomeNext