Пример #1
0
 inline boost::tuple<T0 , T1 , T2 , T3 , T4 , T5>
 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)
 {
     return boost::make_tuple(f0.get() , f1.get() , f2.get() , f3.get() , f4.get() , f5.get());
 }
Пример #2
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();
 }
Пример #3
0
 inline boost::tuple<T0 , T1 , T2 , T3>
 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)
 {
     return boost::make_tuple(f0.get() , f1.get() , f2.get() , f3.get());
 }
Пример #4
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();
 }
Пример #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 , 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)
 {
     f0.get(); f1.get(); f2.get(); f3.get(); f4.get(); f5.get(); f6.get(); f7.get(); f8.get(); f9.get();
 }
Пример #6
0
 inline boost::tuple<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>
 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 , lcos::future<T8, TR8> const& f8 , lcos::future<T9, TR9> const& f9)
 {
     return boost::make_tuple(f0.get() , f1.get() , f2.get() , f3.get() , f4.get() , f5.get() , f6.get() , f7.get() , f8.get() , f9.get());
 }