Assigns a name to a thread.
If no name is provided, it generates a name based on the number of threads.
If no threadIdParam is provided, it uses the current thread ID.
Optional
The name for the thread. Defaults to t%d where %d is the number of threads.
t%d
The ID of the thread. Defaults to the current thread ID.
Assigns a name to a thread.
If no name is provided, it generates a name based on the number of threads.
If no threadIdParam is provided, it uses the current thread ID.