diff options
-rw-r--r-- | 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. |