Libev on Windows

11,054

Solution 1

both libev and libevent use select on windows to detect and dispatch events (the event core doesn't do I/O, only events).

libevent in addition has a socket handle abstraction, which uses iocps on windows to do reads and writes. libev doesn't have anything comparable. the benchmarks seen so far indicate that the iocp backend of libevent is not very fast though, so if you are looking for fast on windows, you better do your own I/O at this point.

Solution 2

Take a look at libuv, yet another implementation of event loop. It supports IOCP and other backends.

This is robust because used by Node.JS.

Solution 3

No, it uses select() , just as libevent does.

Share:
11,054
Cartesius00
Author by

Cartesius00

Fun

Updated on July 23, 2022

Comments

  • Cartesius00
    Cartesius00 almost 2 years

    Considering libevent vs. libev. Does the libev library have native support of IOCP on Windows?