Alexandre Julliard : server: Overlapped named pipes are never blocking, even if no APC was specified.

Alexandre Julliard julliard at winehq.org
Tue Mar 3 11:53:39 CST 2009


Module: wine
Branch: master
Commit: 9dd3fe54675280254508e81ef11c42a95e64f0bb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9dd3fe54675280254508e81ef11c42a95e64f0bb

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar  2 20:33:52 2009 +0100

server: Overlapped named pipes are never blocking, even if no APC was specified.

---

 server/named_pipe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/named_pipe.c b/server/named_pipe.c
index 1651a67..c4d1993 100644
--- a/server/named_pipe.c
+++ b/server/named_pipe.c
@@ -605,7 +605,7 @@ static obj_handle_t pipe_server_ioctl( struct fd *fd, ioctl_code_t code, const a
         {
         case ps_idle_server:
         case ps_wait_connect:
-            if (blocking)
+            if (blocking && !is_overlapped( get_fd_options(fd) ))
             {
                 async_data_t new_data = *async_data;
                 if (!(wait_handle = alloc_wait_event( current->process ))) break;




More information about the wine-cvs mailing list