mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
server: Don't set the idle event when waiting for a message reply.
This commit is contained in:
parent
7d4e28480d
commit
92e704edc5
2 changed files with 2 additions and 2 deletions
|
@ -12031,7 +12031,7 @@ static const struct
|
|||
/* 0 */ { WAIT_TIMEOUT, WAIT_TIMEOUT, FALSE },
|
||||
{ WAIT_TIMEOUT, 0, FALSE },
|
||||
{ WAIT_TIMEOUT, 0, FALSE },
|
||||
{ WAIT_TIMEOUT, WAIT_TIMEOUT, TRUE },
|
||||
{ WAIT_TIMEOUT, WAIT_TIMEOUT, FALSE },
|
||||
{ WAIT_TIMEOUT, WAIT_TIMEOUT, FALSE },
|
||||
/* 5 */ { WAIT_TIMEOUT, 0, FALSE },
|
||||
{ WAIT_TIMEOUT, 0, FALSE },
|
||||
|
|
|
@ -771,7 +771,7 @@ static int msg_queue_add_queue( struct object *obj, struct wait_queue_entry *ent
|
|||
set_error( STATUS_ACCESS_DENIED );
|
||||
return 0;
|
||||
}
|
||||
if (process->idle_event) set_event( process->idle_event );
|
||||
if (process->idle_event && !(queue->wake_mask & QS_SMRESULT)) set_event( process->idle_event );
|
||||
|
||||
if (queue->fd && list_empty( &obj->wait_queue )) /* first on the queue */
|
||||
set_fd_events( queue->fd, POLLIN );
|
||||
|
|
Loading…
Reference in a new issue