[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
Tue May 21 02:08:55 PDT 2019


Dmitry.Kozhevnikov updated this revision to Diff 200425.
Dmitry.Kozhevnikov added a comment.
Herald added a subscriber: hiraditya.

- moved to monorepo, rebased
- I've added an `std::thread-based` implementation of `llvm_execute_on_thread_async` when threading is on, but it's non-win32 non-pthread implementation (otherwise we should expose this detail for clients so they could decide if they could use it).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D51103

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51103.200425.patch
Type: text/x-patch
Size: 14045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/93e8cdc2/attachment.bin>


More information about the llvm-commits mailing list