quartz: Set the name of internal threads.
This commit is contained in:
parent
83476e3d4a
commit
542e11fcd9
3 changed files with 5 additions and 0 deletions
|
@ -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 (;;)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue