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
f334c0fb
Commit
f334c0fb
authored
May 07, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Make sure that the main message queue exists before the DOS thread starts.
parent
279acf6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
module.c
dlls/winedos/module.c
+4
-0
No files found.
dlls/winedos/module.c
View file @
f334c0fb
...
...
@@ -655,6 +655,7 @@ static void MZ_Launch( LPCSTR cmdtail, int length )
BYTE
*
psp_start
=
PTR_REAL_TO_LIN
(
DOSVM_psp
,
0
);
DWORD
rv
;
SYSLEVEL
*
lock
;
MSG
msg
;
MZ_FillPSP
(
psp_start
,
cmdtail
,
length
);
pTask
->
flags
|=
TDBF_WINOLDAP
;
...
...
@@ -665,6 +666,9 @@ static void MZ_Launch( LPCSTR cmdtail, int length )
GetpWin16Lock
(
&
lock
);
_LeaveSysLevel
(
lock
);
/* force the message queue to be created */
PeekMessageW
(
&
msg
,
NULL
,
WM_USER
,
WM_USER
,
PM_NOREMOVE
);
ResumeThread
(
dosvm_thread
);
rv
=
DOSVM_Loop
(
dosvm_thread
);
...
...
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