hpx/assertion/api.hpp#

Defined in header hpx/assertion/api.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace assertion#

Typedefs

using assertion_handler = void (*)(hpx::source_location const &loc, char const *expr, std::string const &msg)#

The signature for an assertion handler.

Functions

HPX_CORE_MODULE_EXPORT void set_assertion_handler (assertion_handler handler)

Set the assertion handler to be used within a program. If the handler has been set already once, the call to this function will be ignored.

Note

This function is not thread safe