Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
diff --git a/windows/message.c b/windows/message.c
index 150201a..4582203 100644
--- a/windows/message.c
+++ b/windows/message.c
@@ -2020,7 +2020,7 @@
/*
* Then, let the 16 bit scheduler do it's thing.
*/
- Yield16();
+ K32WOWYield16();
/*
* If a message matching the wait mask has arrived, return.
diff --git a/windows/queue.c b/windows/queue.c
index cdd3d85..39563f2 100644
--- a/windows/queue.c
+++ b/windows/queue.c
@@ -745,7 +745,7 @@
QUEUE_Unlock( queue );
return 0; /* exit with timeout */
}
- Yield16();
+ K32WOWYield16();
}
}
}
diff --git a/windows/winhelp.c b/windows/winhelp.c
index 012d4fd..ff690f8 100644
--- a/windows/winhelp.c
+++ b/windows/winhelp.c
@@ -44,7 +44,7 @@
/* try to start the 16-bit winhelp */
if (WinExec( "winhelp.exe -x", SW_SHOWNORMAL ) >= 32)
{
- Yield16();
+ K32WOWYield16();
ret = WinHelpA( hWnd, lpHelpFile, wCommand, (DWORD)MapSL(dwData) );
}
}