Commit 79f203af authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Release WND lock before calling PostEvent16().

parent 72dd5259
......@@ -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 );
......
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