Commit 92e704ed authored by Alexandre Julliard's avatar Alexandre Julliard

server: Don't set the idle event when waiting for a message reply.

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