1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

quartz: Set the name of internal threads.

This commit is contained in:
Brendan Shanks 2024-03-06 16:24:07 -08:00 committed by Alexandre Julliard
parent 83476e3d4a
commit 542e11fcd9
3 changed files with 5 additions and 0 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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 (;;)
{