Exemplo n.º 1
0
void increment(hpx::id_type const& there, boost::int32_t i)
{
    locality_id = hpx::get_locality_id();

    accumulator += i;
    hpx::apply(receive_result_action(), there, accumulator.load());
}
Exemplo n.º 2
0
 void call(hpx::id_type const& there, boost::int32_t i) const
 {
     accumulator += i;
     hpx::apply(receive_result_action(), there, accumulator.load());
 }