/third_party/boost/libs/thread/test/sync/futures/when_any/ |
D | variadic_pass.cpp | 60 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_any(b… in main() 64 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main() 65 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 66 BOOST_TEST(boost::csbl::get<1>(res).valid()); in main() 67 BOOST_TEST(boost::csbl::get<0>(res).is_ready() || boost::csbl::get<1>(res).is_ready()); in main() 70 BOOST_TEST(boost::csbl::get<1>(res).get() == 321); in main() 79 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_any(b… in main() 85 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main() 86 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 87 BOOST_TEST(boost::csbl::get<1>(res).valid()); in main() [all …]
|
D | one_pass.cpp | 47 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_any(boost::move(f1)); in main() 50 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 51 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 52 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main() 60 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_any(boost::move(f1)); in main() 65 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 66 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 67 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main() 68 BOOST_TEST(boost::csbl::get<0>(res).get() == 123); in main() 74 boost::future<boost::csbl::tuple<boost::shared_future<int> > > all = boost::when_any(f1); in main() [all …]
|
D | iterators_pass.cpp | 58 boost::csbl::vector<boost::future<int> > v; in main() 65 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_any(v.begin(), v.end()); in main() 69 boost::csbl::vector<boost::future<int> > res = all.get(); in main() 82 boost::csbl::vector<boost::future<int> > v; in main() 89 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_any(v.begin(), v.end()); in main() 95 boost::csbl::vector<boost::future<int> > res = all.get(); in main() 106 boost::csbl::vector<boost::shared_future<int> > v; in main() 113 …boost::future<boost::csbl::vector<boost::shared_future<int> > > all = boost::when_any(v.begin(), v… in main() 121 boost::csbl::vector<boost::shared_future<int> > res = all.get(); in main() 136 boost::csbl::vector<boost::future<int> > v; in main() [all …]
|
/third_party/boost/libs/thread/test/sync/futures/when_all/ |
D | variadic_pass.cpp | 62 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_all(b… in main() 66 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main() 67 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 68 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main() 71 BOOST_TEST(boost::csbl::get<1>(res).valid()); in main() 72 BOOST_TEST(boost::csbl::get<1>(res).is_ready()); in main() 73 BOOST_TEST(boost::csbl::get<1>(res).get() == 321); in main() 82 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_all(b… in main() 88 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main() 89 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() [all …]
|
D | one_pass.cpp | 54 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main() 57 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 58 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 59 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main() 67 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main() 72 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 73 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main() 74 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main() 75 BOOST_TEST(boost::csbl::get<0>(res).get() == 123); in main() 81 boost::future<boost::csbl::tuple<boost::shared_future<int> > > all = boost::when_all(f1); in main() [all …]
|
D | iterators_pass.cpp | 57 boost::csbl::vector<boost::future<int> > v; in main() 64 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_all(v.begin(), v.end()); in main() 68 boost::csbl::vector<boost::future<int> > res = all.get(); in main() 81 boost::csbl::vector<boost::future<int> > v; in main() 88 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_all(v.begin(), v.end()); in main() 94 boost::csbl::vector<boost::future<int> > res = all.get(); in main() 105 boost::csbl::vector<boost::shared_future<int> > v; in main() 112 …boost::future<boost::csbl::vector<boost::shared_future<int> > > all = boost::when_all(v.begin(), v… in main() 120 boost::csbl::vector<boost::shared_future<int> > res = all.get(); in main() 135 boost::csbl::vector<boost::future<int> > v; in main() [all …]
|
/third_party/boost/libs/thread/example/ |
D | future_when_all.cpp | 102 boost::future<boost::csbl::tuple<> > all0 = boost::when_all(); in main() 109 … boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main() 110 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 112 << boost::csbl::get<0>(res).get() <<" " << BOOST_THREAD_END_LOG; in main() 119 … boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main() 121 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 123 << boost::csbl::get<0>(res).get() <<" " << BOOST_THREAD_END_LOG; in main() 129 … boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main() 130 boost::csbl::tuple<boost::future<int> > res = all.get(); in main() 132 << boost::csbl::get<0>(res).get() <<" " << BOOST_THREAD_END_LOG; in main() [all …]
|
/third_party/boost/libs/thread/test/sync/futures/promise/ |
D | set_rvalue_at_thread_exit_pass.cpp | 28 boost::promise<boost::csbl::unique_ptr<int> > p; 29 boost::promise<boost::csbl::unique_ptr<int> > p2; 32 boost::csbl::unique_ptr<int> uptr(new int(5)); in func() 37 p2.set_value_at_thread_exit(boost::csbl::make_unique<int>(5)); in func2() 43 boost::future<boost::csbl::unique_ptr<int> > f = p.get_future(); in main() 48 boost::future<boost::csbl::unique_ptr<int> > f = p2.get_future(); in main()
|
D | use_allocator_pass.cpp | 33 …BOOST_STATIC_ASSERT_MSG((boost::csbl::uses_allocator<boost::promise<int>, test_allocator<int> >::v… in main() 34 …BOOST_STATIC_ASSERT_MSG((boost::csbl::uses_allocator<boost::promise<int&>, test_allocator<int&> >:… in main() 35 …BOOST_STATIC_ASSERT_MSG((boost::csbl::uses_allocator<boost::promise<void>, test_allocator<void> >:… in main()
|
/third_party/boost/boost/thread/csbl/memory/ |
D | allocator_arg.hpp | 20 namespace csbl namespace 29 namespace csbl namespace 38 using ::boost::csbl::allocator_arg_t; 39 using ::boost::csbl::allocator_arg;
|
D | default_delete.hpp | 22 namespace csbl namespace 30 namespace csbl namespace 39 using ::boost::csbl::default_delete;
|
D | pointer_traits.hpp | 20 namespace csbl namespace 28 namespace csbl namespace
|
D | allocator_traits.hpp | 20 namespace csbl namespace 28 namespace csbl namespace
|
D | scoped_allocator.hpp | 20 namespace csbl namespace 28 namespace csbl namespace
|
D | shared_ptr.hpp | 21 namespace csbl namespace 34 namespace csbl namespace
|
D | unique_ptr.hpp | 21 namespace csbl namespace
|
/third_party/boost/libs/thread/test/sync/futures/async/ |
D | async_pass.cpp | 125 boost::csbl::unique_ptr<int> f3_0() in f3_0() 128 boost::csbl::unique_ptr<int> r( (new int(3))); in f3_0() 138 boost::csbl::unique_ptr<int> f3(int i) in f3() 141 return boost::csbl::unique_ptr<int>(new int(i)); in f3() 144 boost::csbl::unique_ptr<int> f4( in f4() 145 BOOST_THREAD_RV_REF_BEG boost::csbl::unique_ptr<int> BOOST_THREAD_RV_REF_END p in f4() 739 boost::future<boost::csbl::unique_ptr<int> > f = boost::async(&f3_0); in main() 741 boost::csbl::unique_ptr<int> res; in main() 764 boost::future<boost::csbl::unique_ptr<int> > f = boost::async(boost::launch::async, &f3, 3); in main() 766 boost::csbl::unique_ptr<int> res; in main() [all …]
|
D | async_executor_pass.cpp | 122 boost::csbl::unique_ptr<int> f3_0() in f3_0() 125 boost::csbl::unique_ptr<int> r( (new int(3))); in f3_0() 135 boost::csbl::unique_ptr<int> f3(int i) in f3() 138 return boost::csbl::unique_ptr<int>(new int(i)); in f3() 141 boost::csbl::unique_ptr<int> f4( in f4() 142 BOOST_THREAD_RV_REF_BEG boost::csbl::unique_ptr<int> BOOST_THREAD_RV_REF_END p in f4()
|
/third_party/boost/boost/thread/csbl/ |
D | devector.hpp | 19 namespace csbl namespace 24 typedef csbl::vector<T> vector_type;
|
D | memory.hpp | 32 namespace csbl namespace
|
D | functional.hpp | 25 namespace csbl namespace
|
D | list.hpp | 25 namespace csbl namespace
|
D | vector.hpp | 25 namespace csbl namespace
|
/third_party/boost/libs/thread/test/threads/container/ |
D | thread_ptr_list_pass.cpp | 61 typedef boost::csbl::list<thread_ptr > thread_ptr_list; in main() 79 typedef boost::csbl::list<thread_ptr > thread_ptr_list; in main()
|
/third_party/boost/boost/thread/ |
D | future.hpp | 563 typedef boost::csbl::unique_ptr<T> storage_type; 1594 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> > 1598 inline BOOST_THREAD_FUTURE<csbl::tuple<> > when_all(); 1602 BOOST_THREAD_FUTURE<csbl::tuple<typename decay<T0>::type, typename decay<T>::type...> > 1608 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> > 1612 inline BOOST_THREAD_FUTURE<csbl::tuple<> > when_any(); 1616 BOOST_THREAD_FUTURE<csbl::tuple<typename decay<T0>::type, typename decay<T>::type...> > 1685 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> > 1693 friend BOOST_THREAD_FUTURE<csbl::tuple<typename decay<T0>::type, typename decay<T>::type...> > 1699 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> > [all …]
|