Commit 7f14c085 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

In UserYield16, when current thread is a 32 bit one which hold the

Win16Lock, must take care of a LockCount > 1.
parent b87fe2e9
......@@ -1510,8 +1510,10 @@ void WINAPI UserYield16(void)
OldYield16();
else
{
SYSLEVEL_LeaveWin16Lock();
SYSLEVEL_EnterWin16Lock();
DWORD count;
ReleaseThunkLock(&count);
RestoreThunkLock(count);
}
/* Handle sent messages again */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment