Permalink
Browse files

Hangup in signaler creation on Windows fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
  • Loading branch information...
1 parent a7b0b0d commit f8b005502699aa069406923701af685cc156d3c2 @sustrik sustrik committed Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/signaler.cpp
View
@@ -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.

0 comments on commit f8b0055

Please sign in to comment.