diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-11-10 23:38:08 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-11-10 23:38:08 +0100 |
commit | f8b005502699aa069406923701af685cc156d3c2 (patch) | |
tree | e6cbf65b7222c5f91033296f9dd73d3bcb4578b3 /src | |
parent | a7b0b0d3dc1003fdd6f9538afda8fb4a5bbc5d41 (diff) |
Hangup in signaler creation on Windows fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-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. |