Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jacob Pfeiffer
wine
Commits
5f6080ee
Commit
5f6080ee
authored
25 years ago
by
Eric Pouech
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Removed suicide code when playback thread's father dies.
parent
46e8fff4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/dsound/dsound_main.c
+9
-1
9 additions, 1 deletion
dlls/dsound/dsound_main.c
with
9 additions
and
1 deletion
dlls/dsound/dsound_main.c
+
9
−
1
View file @
5f6080ee
...
...
@@ -2213,11 +2213,19 @@ static DWORD WINAPI DSOUND_thread(LPVOID arg)
WARN
(
"DSOUND thread giving up.
\n
"
);
ExitThread
(
0
);
}
#if 0
/* EP: since the thread creating this thread can
* die before the end of the DSOUND one, this
* test is of no use
* What shall be tested is whether the DSOUND thread
* is the last one in the process
*/
if (getppid()==1) {
WARN("DSOUND father died? Giving up.\n");
ExitThread(0);
}
/* RACE: dsound could be deleted */
#endif
/* RACE: dsound could be deleted */
IDirectSound_AddRef
((
LPDIRECTSOUND
)
dsound
);
if
(
primarybuf
==
NULL
)
{
/* Should never happen */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment