As I know, epoll is a feature of modern linux kernel. But I hope that there is a way to develop epoll based programs on Mac OS X other than use a virtual machine. Just a development environment is Ok, I’ll do load test and run product mode on the real linux server, and of cause the sources will be recompiled on the linux system before these.
Share
Not as such;
epoll()does not exist on Mac OS X. It does have the somewhat-similarkqueuesystem call. Alternatively, you can use a library such as libevent that abstracts away the difference.