cIsThread threads get a window identification on Win.
This enables tools such as TaskInfo to report the thread name directly.master
parent
4c5590636c
commit
ac9224da91
|
@ -57,7 +57,9 @@ private:
|
|||
|
||||
static DWORD_PTR __stdcall thrExecute(LPVOID a_Param)
|
||||
{
|
||||
HWND IdentificationWnd = CreateWindow("STATIC", ((cIsThread *)a_Param)->m_ThreadName.c_str(), 0, 0, 0, 0, WS_OVERLAPPED, NULL, NULL, NULL, NULL);
|
||||
((cIsThread *)a_Param)->Execute();
|
||||
DestroyWindow(IdentificationWnd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue