hpx::post (distributed)#

Defined in header hpx/async.hpp.

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

namespace hpx

Functions

template<typename Action, typename Target, typename ...Ts>
bool post(Action &&action, Target &&target, Ts&&... ts)#

The distributed implementation of hpx::post can be used by giving an action instance as argument instead of a function, and also by providing another argument with the locality ID or the target ID.

Template Parameters
  • Action – The type of action instance

  • Target – The type of target where the action should be executed

  • Ts – The type of any additional arguments

Parameters
  • action – The action instance to be executed

  • target – The target where the action should be executed

  • ts – Additional arguments

Returns

true if the action was successfully posted, false otherwise.