SyntaxFix
Write A Post
Hire A Developer
Questions
You can also change the name of your thread afterwards, while the thread is executed:
Thread.currentThread().setName("FooName");
That could be of interest if for instance you're using the same ThreadFactory for different type of tasks.