[PATCH] D114183: [ThreadPool] Support returning futures with results.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 22 03:47:47 PST 2021


fhahn updated this revision to Diff 388862.
fhahn added a comment.

Replace uses of packaged_tasks with manually creating promise and callable to set result, to work around MSVC build failures.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114183/new/

https://reviews.llvm.org/D114183

Files:
  llvm/include/llvm/Support/ThreadPool.h
  llvm/lib/Support/ThreadPool.cpp
  llvm/unittests/Support/ThreadPool.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114183.388862.patch
Type: text/x-patch
Size: 7096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211122/42ad1636/attachment.bin>


More information about the llvm-commits mailing list