コード例 #1
0
ファイル: continuation.cpp プロジェクト: TheConstructor/hpx
    void trigger_lco_event(naming::id_type const& id, naming::id_type const& cont)
    {
        naming::id_type target(id.get_gid(), id_type::managed_move_credit);
        id.make_unmanaged();

        lcos::base_lco::set_event_action set;
        apply_c(set, cont, target);
    }
コード例 #2
0
ファイル: continuation.cpp プロジェクト: TheConstructor/hpx
    void set_lco_error(naming::id_type const& id, //-V659
        boost::exception_ptr && e, naming::id_type const& cont)
    {
        naming::id_type target(id.get_gid(), id_type::managed_move_credit);
        id.make_unmanaged();

        lcos::base_lco::set_exception_action set;
        apply_c(set, cont, target, std::move(e));
    }
コード例 #3
0
ファイル: continuation.cpp プロジェクト: eile/hpx
 void set_lco_error(naming::id_type const& id, //-V659
     boost::exception_ptr && e, naming::id_type const& cont)
 {
     lcos::base_lco::set_exception_action set;
     apply_c(set, cont, id, std::move(e));
 }
コード例 #4
0
ファイル: continuation.cpp プロジェクト: eile/hpx
 void set_lco_error(naming::id_type const& id, boost::exception_ptr const& e,
     naming::id_type const& cont)
 {
     lcos::base_lco::set_exception_action set;
     apply_c(set, cont, id, e);
 }
コード例 #5
0
ファイル: continuation.cpp プロジェクト: eile/hpx
 void trigger_lco_event(naming::id_type const& id, naming::id_type const& cont)
 {
     lcos::base_lco::set_event_action set;
     apply_c(set, cont, id);
 }