[PATCH] D30526: [Support] Add functions to get and set thread name.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 14:08:29 PST 2017


zturner updated this revision to Diff 90390.
zturner added a comment.

Also added a function to get the current thread id.  `std::this_thread::get_id()`, unfortunately cannot be examined portably.


https://reviews.llvm.org/D30526

Files:
  llvm/include/llvm/Support/Threading.h
  llvm/lib/Support/Threading.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30526.90390.patch
Type: text/x-patch
Size: 5880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170302/19b858bd/attachment.bin>


More information about the llvm-commits mailing list