mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:39:43 +00:00
wined3d: Set name of internal threads.
This commit is contained in:
parent
746ad6f76e
commit
a2c03e2356
|
@ -3354,6 +3354,7 @@ static DWORD WINAPI wined3d_cs_run(void *ctx)
|
|||
bool run = true;
|
||||
|
||||
TRACE("Started.\n");
|
||||
SetThreadDescription(GetCurrentThread(), L"wined3d_cs");
|
||||
|
||||
/* Copy the module handle to a local variable to avoid racing with the
|
||||
* thread freeing "cs" before the FreeLibraryAndExitThread() call. */
|
||||
|
|
|
@ -1069,6 +1069,8 @@ static DWORD CALLBACK notification_thread_func(void *stop_event)
|
|||
struct wined3d_video_memory_info info;
|
||||
HRESULT hr;
|
||||
|
||||
SetThreadDescription(GetCurrentThread(), L"wined3d_budget_change_notification");
|
||||
|
||||
while (TRUE)
|
||||
{
|
||||
wined3d_mutex_lock();
|
||||
|
|
|
@ -2194,6 +2194,8 @@ static DWORD WINAPI wined3d_set_window_state(void *ctx)
|
|||
struct wined3d_window_state *s = ctx;
|
||||
bool filter;
|
||||
|
||||
SetThreadDescription(GetCurrentThread(), L"wined3d_set_window_state");
|
||||
|
||||
filter = wined3d_filter_messages(s->window, TRUE);
|
||||
|
||||
if (s->set_style)
|
||||
|
|
Loading…
Reference in a new issue