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
aa7a0f51
Commit
aa7a0f51
authored
Dec 14, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386: Don't release the Win16 lock when exiting a task.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54402
parent
7a7b8288
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
interrupts.c
dlls/krnl386.exe16/interrupts.c
+0
-3
task.c
dlls/krnl386.exe16/task.c
+1
-8
No files found.
dlls/krnl386.exe16/interrupts.c
View file @
aa7a0f51
...
...
@@ -96,9 +96,6 @@ static void WINAPI DOSVM_DefaultHandler( CONTEXT *context )
*/
void
DOSVM_Exit
(
WORD
retval
)
{
DWORD
count
;
ReleaseThunkLock
(
&
count
);
ExitThread
(
retval
);
}
...
...
dlls/krnl386.exe16/task.c
View file @
aa7a0f51
...
...
@@ -549,15 +549,8 @@ void TASK_ExitTask(void)
TDB
*
pTask
;
DWORD
lockCount
;
/* Enter the Win16Lock to protect global data structures */
_EnterWin16Lock
();
pTask
=
TASK_GetCurrent
();
if
(
!
pTask
)
{
_LeaveWin16Lock
();
return
;
}
if
(
!
pTask
)
return
;
TRACE
(
"Killing task %04x
\n
"
,
pTask
->
hSelf
);
...
...
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