ΒΆvoid set_thread_name(const llvm::Twine& Name)
void set_thread_name(const llvm::Twine& Name)
Description
Set the name of the current thread. Setting a thread's name can be helpful for enabling useful diagnostics under a debugger or when logging. The level of support for setting a thread's name varies wildly across operating systems, and we only make a best effort to perform the operation on supported platforms. No indication of success or failure is returned.
Declared at: llvm/include/llvm/Support/Threading.h:177
Parameters
- const llvm::Twine& Name