How to set name to the thread?

Viewed 44386

Is there a way to set a friendly name to a thread in code?

For example, I want the thread with name Thread-11 on the image was named something like 'MyImportThread'.

example-threads

6 Answers
Related