Commit f8b00550 authored by Martin Sustrik's avatar Martin Sustrik

Hangup in signaler creation on Windows fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent a7b0b0d3
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment