Erich Hoover : server: STATUS_MORE_PROCESSING_REQUIRED indicates that an async operation should not send a completion .

Alexandre Julliard julliard at winehq.org
Thu Jun 7 13:39:17 CDT 2012


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

Author: Erich Hoover <ehoover at mines.edu>
Date:   Wed Jun  6 17:35:08 2012 -0600

server: STATUS_MORE_PROCESSING_REQUIRED indicates that an async operation should not send a completion.

---

 server/async.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/async.c b/server/async.c
index 843a02b..ccddec7 100644
--- a/server/async.c
+++ b/server/async.c
@@ -243,6 +243,9 @@ void async_set_timeout( struct async *async, timeout_t timeout, unsigned int sta
 static void add_async_completion( struct async_queue *queue, apc_param_t cvalue, unsigned int status,
                                   unsigned int information )
 {
+    if (status == STATUS_MORE_PROCESSING_REQUIRED)
+        return; /* The async callback has successfully finished but no completion should be reported */
+
     if (queue->fd)
     {
         apc_param_t ckey;




More information about the wine-cvs mailing list