HPX - High Performance ParalleX

PrevUpHomeNext

Function create_message_handler

hpx::create_message_handler — Create an instance of a message handler plugin.

Synopsis

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


parcelset::policies::message_handler * 
create_message_handler(char const * message_handler_type, char const * action, 
                       parcelset::parcelport * pp, std::size_t num_messages, 
                       std::size_t interval, error_code & ec = throws);

Description

The function hpx::create_message_handler() creates an instance of a message handler plugin based on the parameters specified.

[Note] Note

As long as ec is not pre-initialized to hpx::throws this function doesn't throw but returns the result code using the parameter ec. Otherwise it throws an instance of hpx::exception.

Parameters:

action

ec

[in,out] this represents the error status on exit, if this is pre-initialized to hpx::throws the function will throw on error instead.

interval

message_handler_type

num_messages

pp


PrevUpHomeNext