Commit 3f0166fa authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

rpcrt4: Set the name of internal threads.

parent fa8e36fa
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment