>From f8b005502699aa069406923701af685cc156d3c2 Mon Sep 17 00:00:00 2001 From: Martin Sustrik <[email protected]> Date: Thu, 10 Nov 2011 23:38:08 +0100 Subject: [PATCH] Hangup in signaler creation on Windows fixed
Signed-off-by: Martin Sustrik <[email protected]> --- src/signaler.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/signaler.cpp b/src/signaler.cpp index e7191d3..29895c2 100644 --- a/src/signaler.cpp +++ b/src/signaler.cpp @@ -238,7 +238,7 @@ int zmq::signaler_t::make_fdpair (fd_t *r_, fd_t *w_) // two instances of the library don't accidentally create signaler // crossing the process boundary. // We'll use named event object to implement the critical section. - HANDLE sync = CreateEvent (NULL, FALSE, FALSE, "zmq-signaler-port-sync"); + HANDLE sync = CreateEvent (NULL, FALSE, TRUE, "zmq-signaler-port-sync"); win_assert (sync != NULL); // Enter the critical section. -- 1.7.0.4
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
