![]() |
hpx::stop — Stop the runtime system.
// In header: <hpx/hpx_finalize.hpp> int stop(error_code & ec = throws);
This function will block and wait for this locality to finish executing before returning to the caller. It should be the last HPX-function called on every locality. This function should be used only if the runtime system was started using hpx::start
.
Returns: |
The function returns the value, which has been returned from the user supplied main HPX function (usually |