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

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 29 09:43:26 PDT 2018


Hmm I don’t remember why i did that, certainly looks like an accident
On Sat, Apr 28, 2018 at 5:37 PM Nico Weber via Phabricator <
reviews at reviews.llvm.org> wrote:

> thakis added inline comments.
>
>
> ================
> Comment at: llvm/trunk/lib/Support/Unix/Threading.inc:98
> +  return uint64_t(syscall(SYS_gettid));
> +#elif defined(LLVM_ON_WIN32)
> +  return uint64_t(::GetCurrentThreadId());
> ----------------
> LLVM_ON_WIN32 will never be set in Unix/Threading.inc, will it? Is this
> branch ever used?
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D30526
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180429/10222fa5/attachment.html>


More information about the llvm-commits mailing list