Lines Matching defs:future
53 #include <future>
125 // parameter of a future.
128 // (a limited resource on Windows) for the duration that the future is pending.
131 // Create a std::future that opens and maps a file using the best strategy for
133 static std::future<MBErrPair> createFutureForFile(std::string path) {
235 auto future = std::make_shared<std::future<MBErrPair>>(
240 auto [mb, ec] = future->get();
336 auto future =
337 std::make_shared<std::future<MBErrPair>>(createFutureForFile(childName));
339 auto mbOrErr = future->get();