![]() |
hpx::lcos::broadcast_apply — Perform an asynchronous (fire&forget) distributed broadcast operation.
// In header: <hpx/lcos/broadcast.hpp> template<typename Action, typename ArgN, ... > void broadcast_apply(std::vector< hpx::id_type > const & ids, ArgN argN, ...);
The function hpx::lcos::broadcast_apply performs an asynchronous (fire&forget) distributed broadcast operation resulting in action invocations on a given set of global identifiers. The action can be either a plain action (in which case the global identifiers have to refer to localities) or a component action (in which case the global identifiers have to refer to instances of a component type which exposes the action.
The given action is invoked asynchronously on all given identifiers, and the arguments ArgN are passed along to those invocations.
Parameters: |
|