Skip to content

Commit

Permalink
Hangup in signaler creation on Windows fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <[email protected]>
  • Loading branch information
sustrik committed Nov 10, 2011
1 parent a7b0b0d commit f8b0055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signaler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f8b0055

Please sign in to comment.