mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Release WND lock before calling PostEvent16().
This commit is contained in:
parent
72dd5259b2
commit
79f203af48
1 changed files with 4 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue