In UserYield16, when current thread is a 32 bit one which hold the
Win16Lock, must take care of a LockCount > 1.
This commit is contained in:
parent
b87fe2e9bf
commit
7f14c085bd
|
@ -1510,8 +1510,10 @@ void WINAPI UserYield16(void)
|
|||
OldYield16();
|
||||
else
|
||||
{
|
||||
SYSLEVEL_LeaveWin16Lock();
|
||||
SYSLEVEL_EnterWin16Lock();
|
||||
DWORD count;
|
||||
|
||||
ReleaseThunkLock(&count);
|
||||
RestoreThunkLock(count);
|
||||
}
|
||||
|
||||
/* Handle sent messages again */
|
||||
|
|
Loading…
Reference in New Issue