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.
the name of the current thread.
| Name | Description |
|---|---|
| Name | Buffer that receives the thread name on success. |