commit | 7f14c085bdb4d421a12a793c2647887d2c2fb38c | [log] [tgz] |
---|---|---|
author | Eric Pouech <Eric.Pouech@wanadoo.fr> | Thu Apr 01 09:58:53 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Apr 01 09:58:53 1999 +0000 |
tree | a60369512d2f8219c13ee7bdccfd757050fb656d | |
parent | b87fe2e9bf5b89d1e95f3027734af22040814e31 [diff] [blame] |
In UserYield16, when current thread is a 32 bit one which hold the Win16Lock, must take care of a LockCount > 1.
diff --git a/windows/queue.c b/windows/queue.c index 5ead0ce..4d8a160 100644 --- a/windows/queue.c +++ b/windows/queue.c
@@ -1510,8 +1510,10 @@ OldYield16(); else { - SYSLEVEL_LeaveWin16Lock(); - SYSLEVEL_EnterWin16Lock(); + DWORD count; + + ReleaseThunkLock(&count); + RestoreThunkLock(count); } /* Handle sent messages again */