3 ms·
Also, nobody is using select and poll in Linux these days, epoll is the way to go.
by amaks 10y ago
Also, nobody is using select and poll in Linux these days, epoll is the way to go.
- PeCaN 10y ago> Linux: Sleep. Wait for the kernel to wake you up when something happens so you can yell “IS ANYONE READY YET? HOW ABOUT NOW?!” at your file descriptors. > FreeBSD: Like Linux, but the API is less stupid. Yeah, I covered epoll (and kqueue, which also applies to Solaris and OS X).