HomeSort by: relevance | last modified time | path
    Searched defs:Future (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Support/
ThreadPool.cpp 76 /// Wrap the Task in a packaged_task to return a future object.
78 auto Future = PackagedTask.get_future();
89 return Future.share();
124 // Get a Future with launch::deferred execution using std::async
125 auto Future = std::async(std::launch::deferred, std::move(Task)).share();
126 // Wrap the future so that both ThreadPool::wait() can operate and the
127 // returned future can be sync'ed on.
128 PackagedTaskTy PackagedTask([Future]() { Future.get(); });
130 return Future;
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafetyTIL.h 435 class Future : public SExpr {
443 Future() : SExpr(COP_Future) {}
444 virtual ~Future() = delete;
448 // A lazy rewriting strategy should subclass Future and override this method.
451 // Return the result of this future if it exists, otherwise return null.
454 // Return the result of this future; forcing it if necessary.
468 assert(Result && "Cannot traverse Future that has not been forced.");
473 typename C::CType compare(const Future* E, C& Cmp) const {

Completed in 57 milliseconds