commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1142891 - in /commons/sandbox/runtime/trunk/src/main/native/os/win32: pollset.c wpipe.c
Date Tue, 05 Jul 2011 04:33:41 GMT
Author: mturk
Date: Tue Jul  5 04:33:41 2011
New Revision: 1142891

URL: http://svn.apache.org/viewvc?rev=1142891&view=rev
Log:
Set wakeup event on destroy

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/pollset.c
    commons/sandbox/runtime/trunk/src/main/native/os/win32/wpipe.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/pollset.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/pollset.c?rev=1142891&r1=1142890&r2=1142891&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/pollset.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/pollset.c Tue Jul  5 04:33:41 2011
@@ -189,6 +189,7 @@ ACR_NET_EXPORT(int, PollSelector, destro
         }
     }
     AcrAtomic32Set(&ps->state, PSS_DESTROY);
+    SetEvent(ps->wakeup);
     for (i = 1; i < ps->used; i++) {
         AcrSelectionKeyReset(env, ps->ooset[i].obj);
         /* Invalidate the container. */

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/wpipe.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/wpipe.c?rev=1142891&r1=1142890&r2=1142891&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/wpipe.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/wpipe.c Tue Jul  5 04:33:41 2011
@@ -16,7 +16,6 @@
 
 #include "acr/error.h"
 #include "acr/iodefs.h"
-#include "acr/socks.h"
 #include "acr/clazz.h"
 #include "acr/string.h"
 #include "acr/iofd.h"



Mime
View raw message