1 Jun
2022
1 Jun
'22
7:38 p.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/89#note_1478