Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a2c03e23
Commit
a2c03e23
authored
Sep 26, 2022
by
Brendan Shanks
Committed by
Alexandre Julliard
Sep 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Set name of internal threads.
parent
746ad6f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
cs.c
dlls/wined3d/cs.c
+1
-0
directx.c
dlls/wined3d/directx.c
+2
-0
swapchain.c
dlls/wined3d/swapchain.c
+2
-0
No files found.
dlls/wined3d/cs.c
View file @
a2c03e23
...
@@ -3354,6 +3354,7 @@ static DWORD WINAPI wined3d_cs_run(void *ctx)
...
@@ -3354,6 +3354,7 @@ static DWORD WINAPI wined3d_cs_run(void *ctx)
bool
run
=
true
;
bool
run
=
true
;
TRACE
(
"Started.
\n
"
);
TRACE
(
"Started.
\n
"
);
SetThreadDescription
(
GetCurrentThread
(),
L"wined3d_cs"
);
/* Copy the module handle to a local variable to avoid racing with the
/* Copy the module handle to a local variable to avoid racing with the
* thread freeing "cs" before the FreeLibraryAndExitThread() call. */
* thread freeing "cs" before the FreeLibraryAndExitThread() call. */
...
...
dlls/wined3d/directx.c
View file @
a2c03e23
...
@@ -1069,6 +1069,8 @@ static DWORD CALLBACK notification_thread_func(void *stop_event)
...
@@ -1069,6 +1069,8 @@ static DWORD CALLBACK notification_thread_func(void *stop_event)
struct
wined3d_video_memory_info
info
;
struct
wined3d_video_memory_info
info
;
HRESULT
hr
;
HRESULT
hr
;
SetThreadDescription
(
GetCurrentThread
(),
L"wined3d_budget_change_notification"
);
while
(
TRUE
)
while
(
TRUE
)
{
{
wined3d_mutex_lock
();
wined3d_mutex_lock
();
...
...
dlls/wined3d/swapchain.c
View file @
a2c03e23
...
@@ -2194,6 +2194,8 @@ static DWORD WINAPI wined3d_set_window_state(void *ctx)
...
@@ -2194,6 +2194,8 @@ static DWORD WINAPI wined3d_set_window_state(void *ctx)
struct
wined3d_window_state
*
s
=
ctx
;
struct
wined3d_window_state
*
s
=
ctx
;
bool
filter
;
bool
filter
;
SetThreadDescription
(
GetCurrentThread
(),
L"wined3d_set_window_state"
);
filter
=
wined3d_filter_messages
(
s
->
window
,
TRUE
);
filter
=
wined3d_filter_messages
(
s
->
window
,
TRUE
);
if
(
s
->
set_style
)
if
(
s
->
set_style
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment