Alexandre Julliard (@julliard) commented about dlls/kernelbase/thread.c:
THREAD_NAME_INFORMATION info; int length;
- TRACE( "(%p, %s)\n", thread, debugstr_w( description ));
- if (thread == GetCurrentThread())
WARN_(threadname)( "Thread renamed to %s\n", debugstr_w( description ));
- else
WARN_(threadname)( "Thread handle %p renamed to %s\n", thread, debugstr_w( description ));
Printing the handle value is not very useful, it would be nicer to get the thread id from the handle if we can.