zeromq/libzmq — pull request #309 by hurtonm (2012-04-11 09:44:23+00:00)
Title: Fix issue #335

The CreateEvent function requests EVENT_ALL_ACCESS access rights
when the event object already exists. This causes problems
when the event object is created from a service.
The solution is to call OpenEvent function when the CreateEvent
failed due to access control.
The proper solution would be to use CreateEventEx function, but
this one is not available on Windows XP.