mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-23 07:12:47 +01:00
Hangup in signaler creation on Windows fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
a7b0b0d3dc
commit
f8b0055026
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user