[PATCH] D51103: [Support] Add a way to run a function on a detached thread

Dmitry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 03:19:36 PDT 2018


Dmitry.Kozhevnikov updated this revision to Diff 162647.
Dmitry.Kozhevnikov added a comment.

Addressed review comments:

- Any failure when spawning a thread now causes a fatal error
- Replaced a bool flag with an enum
- Replaced `unsigned RequestedStackSize` with `Optional<unsigned> StackSizeInBytes`


https://reviews.llvm.org/D51103

Files:
  include/llvm/Support/Threading.h
  lib/Support/Threading.cpp
  lib/Support/Unix/Threading.inc
  lib/Support/Unix/Unix.h
  lib/Support/Windows/Process.inc
  lib/Support/Windows/Threading.inc
  lib/Support/Windows/WindowsSupport.h
  unittests/Support/Threading.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51103.162647.patch
Type: text/x-patch
Size: 12317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180827/193bda18/attachment.bin>


More information about the llvm-commits mailing list