+`TInetSvrFactory`, `TUnixSvrFactory` and `TBoundSvrFactory` use [select()](http://man7.org/linux/man-pages/man2/select.2.html) to monitor if socket is ready for I/O operation. To use [epoll](http://man7.org/linux/man-pages/man7/epoll.7.html), replace with `TEpollInetSvrFactory`, `TEpollUnixSvrFactory` and `TEpollBoundSvrFactory`. If you use FreeBSD, to use [kqueue](https://www.freebsd.org/cgi/man.cgi?kqueue), replace with `TKqueueInetSvrFactory`, `TKqueueUnixSvrFactory` and `TKqueueBoundSvrFactory`. You need to add conditional compilation define `$DEFINE USE_KQUEUE` or add `-dUSE_KQUEUE` line in `build.cfg` file.
0 commit comments