Searched refs:fut (Results 1 – 3 of 3) sorted by relevance
41 std::future<int> fut = std::async(std::launch::async, worker, v); in main() local42 int answer = fut.get(); in main()50 std::future<int&> fut = std::async(std::launch::async, worker_ref, std::ref(i)); in main() local51 int& answer = fut.get(); in main()59 std::future<void> fut = std::async(std::launch::async, worker_void); in main() local60 fut.get(); in main()
27 return (yield from asyncio.wait_for(pw.fut, timeout))38 self.fut = asyncio.Future()41 if not self.fut.done():42 self.fut.set_result(result)46 if not self.fut.done():47 self.fut.set_exception(exc)58 if self.fut.done():
73 void useFuture(const std::future &fut);