[zeromq-dev] [request] IPC on windows

Steven McCoy steven.mccoy at miru.hk
Sat Aug 6 10:59:45 CEST 2011

On 6 August 2011 16:14, Martin Sustrik <sustrik at 250bpm.com> wrote:

> On 08/05/2011 08:03 AM, Steven McCoy wrote:
>  1)  Change zmq_engine from reactor to proactor.
>> 2)  Fake proactor POSIX by simply calling recv or send in the completion
>> event.
>> 3)  Slot in IOCP into the new model, also easy to emulate on POSIX for
>> testing.  There is an implementation from Intel available on Google.
>> 4)  Add named pipe support.
>> 5)  Add shared memory support.
> I am not entirely sure what you have in mind: Is it adjusting all the other
> polling mechanism wrappers (select_t, poll_t, epoll_t...) to IOCP-like model
> or other way round, wrapping IOCP in such a way that it's similar to
> existing wrappers?

Making a new alternative base, that for Windows uses completion events
instead of ready events.  *in_event* becomes *in_completion_event*,
similarly *out_event* becomes *out_completion_event*.

Ultimately you can build either version or maybe have both available.  The
problem is that the events are similar and not exactly the same.

It is possible to construct both on Windows and POSIX and hence be able to
test the performance of each.  IOCP and completion events should be faster
on Windows, but introduce additional latency on POSIX.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110806/1872210f/attachment.htm>

More information about the zeromq-dev mailing list