Esempio n. 1
0
 naming::id_type register_with_agas(lcos::future<naming::id_type> f,
     std::string const& fullname)
 {
     // register the canonical name with AGAS
     naming::id_type id = f.get();
     agas::register_name_sync(fullname, id);
     return id;
 }
Esempio n. 2
0
 inline HPX_STD_TUPLE<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8>
 wait (lcos::future<T0> const& f0 , lcos::future<T1> const& f1 , lcos::future<T2> const& f2 , lcos::future<T3> const& f3 , lcos::future<T4> const& f4 , lcos::future<T5> const& f5 , lcos::future<T6> const& f6 , lcos::future<T7> const& f7 , lcos::future<T8> const& f8)
 {
     return HPX_STD_MAKE_TUPLE(f0.get() , f1.get() , f2.get() , f3.get() , f4.get() , f5.get() , f6.get() , f7.get() , f8.get());
 }
Esempio n. 3
0
 inline void
 wait (lcos::future<void> const& f0 , lcos::future<void> const& f1 , lcos::future<void> const& f2 , lcos::future<void> const& f3 , lcos::future<void> const& f4 , lcos::future<void> const& f5 , lcos::future<void> const& f6 , lcos::future<void> const& f7)
 {
     f0.get(); f1.get(); f2.get(); f3.get(); f4.get(); f5.get(); f6.get(); f7.get();
 }
Esempio n. 4
0
 inline HPX_STD_TUPLE<T0 , T1 , T2 , T3 , T4 , T5>
 wait (lcos::future<T0> const& f0 , lcos::future<T1> const& f1 , lcos::future<T2> const& f2 , lcos::future<T3> const& f3 , lcos::future<T4> const& f4 , lcos::future<T5> const& f5)
 {
     return HPX_STD_MAKE_TUPLE(f0.get() , f1.get() , f2.get() , f3.get() , f4.get() , f5.get());
 }
Esempio n. 5
0
 inline void
 wait (lcos::future<void> const& f0 , lcos::future<void> const& f1 , lcos::future<void> const& f2 , lcos::future<void> const& f3 , lcos::future<void> const& f4)
 {
     f0.get(); f1.get(); f2.get(); f3.get(); f4.get();
 }
Esempio n. 6
0
 inline HPX_STD_TUPLE<T0 , T1 , T2 , T3>
 wait (lcos::future<T0> const& f0 , lcos::future<T1> const& f1 , lcos::future<T2> const& f2 , lcos::future<T3> const& f3)
 {
     return HPX_STD_MAKE_TUPLE(f0.get() , f1.get() , f2.get() , f3.get());
 }
Esempio n. 7
0
 inline void
 wait (lcos::future<void> const& f0 , lcos::future<void> const& f1 , lcos::future<void> const& f2 , lcos::future<void> const& f3 , lcos::future<void> const& f4 , lcos::future<void> const& f5 , lcos::future<void> const& f6 , lcos::future<void> const& f7 , lcos::future<void> const& f8 , lcos::future<void> const& f9 , lcos::future<void> const& f10 , lcos::future<void> const& f11 , lcos::future<void> const& f12 , lcos::future<void> const& f13 , lcos::future<void> const& f14)
 {
     f0.get(); f1.get(); f2.get(); f3.get(); f4.get(); f5.get(); f6.get(); f7.get(); f8.get(); f9.get(); f10.get(); f11.get(); f12.get(); f13.get(); f14.get();
 }
Esempio n. 8
0
 inline HPX_STD_TUPLE<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14>
 wait (lcos::future<T0> const& f0 , lcos::future<T1> const& f1 , lcos::future<T2> const& f2 , lcos::future<T3> const& f3 , lcos::future<T4> const& f4 , lcos::future<T5> const& f5 , lcos::future<T6> const& f6 , lcos::future<T7> const& f7 , lcos::future<T8> const& f8 , lcos::future<T9> const& f9 , lcos::future<T10> const& f10 , lcos::future<T11> const& f11 , lcos::future<T12> const& f12 , lcos::future<T13> const& f13 , lcos::future<T14> const& f14)
 {
     return HPX_STD_MAKE_TUPLE(f0.get() , f1.get() , f2.get() , f3.get() , f4.get() , f5.get() , f6.get() , f7.get() , f8.get() , f9.get() , f10.get() , f11.get() , f12.get() , f13.get() , f14.get());
 }
Esempio n. 9
0
 inline void
 wait (lcos::future<void> const& f0 , lcos::future<void> const& f1 , lcos::future<void> const& f2)
 {
     f0.get(); f1.get(); f2.get();
 }
Esempio n. 10
0
 inline boost::tuple<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7>
 wait (lcos::future<T0, TR0> const& f0 , lcos::future<T1, TR1> const& f1 , lcos::future<T2, TR2> const& f2 , lcos::future<T3, TR3> const& f3 , lcos::future<T4, TR4> const& f4 , lcos::future<T5, TR5> const& f5 , lcos::future<T6, TR6> const& f6 , lcos::future<T7, TR7> const& f7)
 {
     return boost::make_tuple(f0.get() , f1.get() , f2.get() , f3.get() , f4.get() , f5.get() , f6.get() , f7.get());
 }
Esempio n. 11
0
 inline boost::tuple<T0 , T1 , T2 , T3 , T4>
 wait (lcos::future<T0, TR0> const& f0 , lcos::future<T1, TR1> const& f1 , lcos::future<T2, TR2> const& f2 , lcos::future<T3, TR3> const& f3 , lcos::future<T4, TR4> const& f4)
 {
     return boost::make_tuple(f0.get() , f1.get() , f2.get() , f3.get() , f4.get());
 }
Esempio n. 12
0
 inline boost::tuple<T0 , T1 , T2>
 wait (lcos::future<T0, TR0> const& f0 , lcos::future<T1, TR1> const& f1 , lcos::future<T2, TR2> const& f2)
 {
     return boost::make_tuple(f0.get() , f1.get() , f2.get());
 }