Commit 542e11fc authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

quartz: Set the name of internal threads.

parent 83476e3d
......@@ -381,6 +381,8 @@ static DWORD CALLBACK io_thread(void *arg)
DWORD size;
BOOL ret;
SetThreadDescription(GetCurrentThread(), L"wine_qz_async_reader_io");
for (;;)
{
ret = GetQueuedCompletionStatus(filter->port, &size, &key, &ovl, INFINITE);
......
......@@ -1033,6 +1033,8 @@ static DWORD WINAPI message_thread_run(void *ctx)
{
MSG msg;
SetThreadDescription(GetCurrentThread(), L"wine_qz_graph_worker");
/* Make sure we have a message queue. */
PeekMessageW(&msg, NULL, 0, 0, PM_NOREMOVE);
SetEvent(message_thread_ret);
......
......@@ -144,6 +144,7 @@ static DWORD WINAPI SystemClockAdviseThread(void *param)
REFERENCE_TIME current_time;
TRACE("Starting advise thread for clock %p.\n", clock);
SetThreadDescription(GetCurrentThread(), L"wine_qz_clock_advise");
for (;;)
{
......
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