Name threadpool threads.
authorBenoit Jacob <benoitjacob@google.com>
Thu, 16 Feb 2023 15:23:13 +0000 (15:23 +0000)
committerBenoit Jacob <benoitjacob@google.com>
Thu, 23 Feb 2023 18:11:15 +0000 (18:11 +0000)
commit1215ff89cde68bf66d2c883b19ad942fb2c5bf97
tree2717b08ea40cf4ef5455e9e9fea467422115537b
parentf48d3b6f4649f3a5bcb41c889ae0866de3f9726e
Name threadpool threads.

This gives our worker threads some names that allow easily identifying them in tools such as profilers and debuggers.

Differential Revision: https://reviews.llvm.org/D144297
llvm/lib/Support/ThreadPool.cpp