MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / wait_for_any

Function wait_for_any

extern/boost/boost/thread/future.hpp:1264–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262#ifdef BOOST_NO_CXX11_VARIADIC_TEMPLATES
1263 template<typename F1,typename F2>
1264 typename boost::enable_if<is_future_type<F1>,typename detail::future_waiter::count_type>::type wait_for_any(F1& f1,F2& f2)
1265 {
1266 detail::future_waiter waiter;
1267 waiter.add(f1);
1268 waiter.add(f2);
1269 return waiter.wait();
1270 }
1271
1272 template<typename F1,typename F2,typename F3>
1273 typename detail::future_waiter::count_type wait_for_any(F1& f1,F2& f2,F3& f3)

Callers 2

runMethod · 0.70
operator()Method · 0.70

Calls 2

addMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected