コード例 #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());
}
コード例 #2
0
ファイル: apply_colocated.cpp プロジェクト: 41i/hpx
 void call(hpx::id_type const& there, boost::int32_t i) const
 {
     accumulator += i;
     hpx::apply(receive_result_action(), there, accumulator.load());
 }