Release WND lock before calling PostEvent16().

This commit is contained in:
Ulrich Weigand 1999-06-06 14:42:10 +00:00 committed by Alexandre Julliard
parent 72dd5259b2
commit 79f203af48

View file

@ -634,7 +634,11 @@ void QUEUE_SetWakeBit( MESSAGEQUEUE *queue, WORD bit )
/* Wake up thread waiting for message */
if ( THREAD_IsWin16( queue->thdb ) )
{
int iWndsLock = WIN_SuspendWndsLock();
PostEvent16( queue->thdb->process->task );
WIN_RestoreWndsLock( iWndsLock );
}
else
{
SetEvent( queue->hEvent );