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:
Eric Pouech 1999-04-01 09:58:53 +00:00 committed by Alexandre Julliard
parent b87fe2e9bf
commit 7f14c085bd
1 changed files with 4 additions and 2 deletions

View File

@ -1510,8 +1510,10 @@ void WINAPI UserYield16(void)
OldYield16();
else
{
SYSLEVEL_LeaveWin16Lock();
SYSLEVEL_EnterWin16Lock();
DWORD count;
ReleaseThunkLock(&count);
RestoreThunkLock(count);
}
/* Handle sent messages again */