This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-server".

The branch, master has been updated
       via  be081833a391d063c1ef99637281671a98c73eb1 (commit)
      from  47de1576564e8e201e81366b7a2e8649cefdf27c (commit)


Summary of changes:
 src/Snap/Internal/Http/Server/LibevBackend.hs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit be081833a391d063c1ef99637281671a98c73eb1
Author: Aycan iRiCAN <[email protected]>
Date:   Wed Jul 14 15:47:28 2010 +0300

    hlibev exports evunloop_all, so use it rather than constant 2

diff --git a/src/Snap/Internal/Http/Server/LibevBackend.hs 
b/src/Snap/Internal/Http/Server/LibevBackend.hs
index a1c1c10..212e823 100644
--- a/src/Snap/Internal/Http/Server/LibevBackend.hs
+++ b/src/Snap/Internal/Http/Server/LibevBackend.hs
@@ -198,7 +198,7 @@ new (sock,sockFd) cpu = do
     killObj <- mkEvAsync
     killCB  <- mkAsyncCallback $ \_ _ _ -> do
                             debug "async kill wakeup"
-                            evUnloop lp 2
+                            evUnloop lp evunloop_all
                             return ()
 
     evAsyncInit asyncObj asyncCB
@@ -320,8 +320,7 @@ stop b = ignoreException $ do
     debug $ "Backend.stop: all threads presumed dead, unlooping"
 
     withMVar lock $ \_ -> do
-        -- FIXME: hlibev should export EVUNLOOP_ALL
-        evUnloop loop 2
+        evUnloop loop evunloop_all
         evAsyncSend loop killObj
 
     debug $ "unloop sent"
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-server
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to