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
4d24e0f5
Commit
4d24e0f5
authored
Dec 22, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 22, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
parent
e441d3c4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
mmsystem.c
dlls/winmm/mmsystem.c
+3
-4
winbase16.h
include/wine/winbase16.h
+2
-0
message.c
windows/message.c
+1
-1
queue.c
windows/queue.c
+1
-1
winhelp.c
windows/winhelp.c
+1
-1
No files found.
dlls/winmm/mmsystem.c
View file @
4d24e0f5
...
...
@@ -22,7 +22,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "heap.h"
#include "winemm.h"
...
...
@@ -4967,7 +4966,7 @@ void WINAPI mmTaskYield16(void)
MSG
msg
;
if
(
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
0
))
{
Yield16
();
K32WOW
Yield16
();
}
}
...
...
@@ -5248,12 +5247,12 @@ void WINAPI WINE_mmThreadEntryPoint(DWORD _pmt)
TRACE
(
"[30-%08x]
\n
"
,
lpMMThd
->
hThread
);
while
(
lpMMThd
->
dwCounter
)
{
Sleep
(
1
);
/* Yield16();*/
/*
K32WOW
Yield16();*/
}
TRACE
(
"[XX-%08x]
\n
"
,
lpMMThd
->
hThread
);
/* paranoia */
lpMMThd
->
dwSignature
=
WINE_MMTHREAD_DELETED
;
/* close lpMMThread->hVxD direct
io
*/
/* close lpMMThread->hVxD direct
IO
*/
if
(
lpMMThd
->
hEvent
)
CloseHandle
(
lpMMThd
->
hEvent
);
GlobalFree16
(
hndl
);
...
...
include/wine/winbase16.h
View file @
4d24e0f5
...
...
@@ -325,7 +325,9 @@ DWORD WINAPI SizeofResource16(HMODULE16,HRSRC16);
void
WINAPI
UnlockSegment16
(
HGLOBAL16
);
BOOL16
WINAPI
WritePrivateProfileString16
(
LPCSTR
,
LPCSTR
,
LPCSTR
,
LPCSTR
);
BOOL16
WINAPI
WriteProfileString16
(
LPCSTR
,
LPCSTR
,
LPCSTR
);
/* Yield16 will only be available from kernel module, use K32WOWYield instead */
VOID
WINAPI
Yield16
(
void
);
VOID
WINAPI
K32WOWYield16
(
void
);
SEGPTR
WINAPI
lstrcat16
(
SEGPTR
,
LPCSTR
);
SEGPTR
WINAPI
lstrcatn16
(
SEGPTR
,
LPCSTR
,
INT16
);
SEGPTR
WINAPI
lstrcpy16
(
SEGPTR
,
LPCSTR
);
...
...
windows/message.c
View file @
4d24e0f5
...
...
@@ -2020,7 +2020,7 @@ DWORD WINAPI MsgWaitForMultipleObjects( DWORD nCount, HANDLE *pHandles,
/*
* Then, let the 16 bit scheduler do it's thing.
*/
Yield16
();
K32WOW
Yield16
();
/*
* If a message matching the wait mask has arrived, return.
...
...
windows/queue.c
View file @
4d24e0f5
...
...
@@ -745,7 +745,7 @@ int QUEUE_WaitBits( WORD bits, DWORD timeout )
QUEUE_Unlock
(
queue
);
return
0
;
/* exit with timeout */
}
Yield16
();
K32WOW
Yield16
();
}
}
}
...
...
windows/winhelp.c
View file @
4d24e0f5
...
...
@@ -44,7 +44,7 @@ BOOL16 WINAPI WinHelp16( HWND16 hWnd, LPCSTR lpHelpFile, UINT16 wCommand,
/* try to start the 16-bit winhelp */
if
(
WinExec
(
"winhelp.exe -x"
,
SW_SHOWNORMAL
)
>=
32
)
{
Yield16
();
K32WOW
Yield16
();
ret
=
WinHelpA
(
hWnd
,
lpHelpFile
,
wCommand
,
(
DWORD
)
MapSL
(
dwData
)
);
}
}
...
...
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