Home | History | Annotate | Download | only in futures.async

Lines Matching refs:async

17 //     async(F&& f, Args&&... args);
21 // async(launch policy, F&& f, Args&&... args);
85 std::future<Ret> f = std::async(std::forward<Args>(args)...);
88 // Check that deferred async's have not invoked the function.
97 // If the async is deferred it should take more than 100ms, otherwise
109 // it to be std::launch::async.
113 std::launch AnyPolicy = std::launch::async | std::launch::deferred;
119 test<int>(checkInt, false, std::launch::async, f0);
126 test<int&>(checkIntRef, false, std::launch::async, f1);
133 test<void>(checkVoid, false, std::launch::async, f2);
145 std::future<void> f = std::async(f5, 3);
150 std::future<void> f = std::async(std::launch::deferred, f5, 3);