rpcrt4: Set the name of internal threads.
This commit is contained in:
parent
fa8e36fafa
commit
3f0166fa89
2 changed files with 4 additions and 0 deletions
|
@ -551,6 +551,7 @@ static DWORD CALLBACK RPCRT4_io_thread(LPVOID the_arg)
|
|||
ULONG auth_length;
|
||||
|
||||
TRACE("(%p)\n", conn);
|
||||
SetThreadDescription(GetCurrentThread(), L"wine_rpcrt4_io");
|
||||
|
||||
for (;;) {
|
||||
msg = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(RPC_MESSAGE));
|
||||
|
@ -648,6 +649,7 @@ static DWORD CALLBACK RPCRT4_server_thread(LPVOID the_arg)
|
|||
BOOL set_ready_event = FALSE;
|
||||
|
||||
TRACE("(the_arg == ^%p)\n", the_arg);
|
||||
SetThreadDescription(GetCurrentThread(), L"wine_rpcrt4_server");
|
||||
|
||||
for (;;) {
|
||||
objs = cps->ops->get_wait_array(cps, objs, &count);
|
||||
|
|
|
@ -1802,6 +1802,8 @@ static DWORD CALLBACK rpcrt4_http_timer_thread(PVOID param)
|
|||
HttpTimerThreadData data;
|
||||
DWORD timeout;
|
||||
|
||||
SetThreadDescription(GetCurrentThread(), L"wine_rpcrt4_http_timer");
|
||||
|
||||
data = *data_in;
|
||||
HeapFree(GetProcessHeap(), 0, data_in);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue