ΒΆvoid get_thread_name(SmallVectorImpl<char>& Name)

Description

Get the name of the current thread. The level of support for getting a thread's name varies wildly across operating systems, and it is not even guaranteed that if you can successfully set a thread's name that you can later get it back. This function is intended for diagnostic purposes, and as with setting a thread's name no indication of whether the operation succeeded or failed is returned.

Declared at: llvm/include/llvm/Support/Threading.h:185

Parameters

SmallVectorImpl<char>& Name