6 ms·
libevent tries to provide a common interface to select, poll, kselect (on BSD), epoll (on Linux), and comparable calls on Windows. It's not a standard part of U
by silentbicycle 17y ago
libevent tries to provide a common interface to select, poll, kselect (on BSD), epoll (on Linux), and comparable calls on Windows. It's not a standard part of Unix, of course, but it seems reasonably portable.
- houseabsolute 17y agoSure, but libraries underneath you have to cooperate for you to use it to the fullest potential. That no common means have been invented for that is what I'm sad about.
- silentbicycle 17y agoRight. Once you set up a non-blocking event loop, it's much simpler when you can go async all the way down.