HPX - High Performance ParalleX

PrevUpHomeNext

Function stop

hpx::stop — Stop the runtime system.

Synopsis

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


int stop(error_code & ec = throws);

Description

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 hpx_main).


PrevUpHomeNext