Skip to content

Commit ea4463e

Browse files
authored
Improve documentation on FreeBSD kqueue
1 parent abb2352 commit ea4463e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

working-with-application/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ You can replace `TInetSvrFactory` with `TUnixSvrFactory` class if you want to us
170170
You can replace `TInetSvrFactory` with `TBoundSvrFactory` if you want to create FastCGI application which run and managed by web server, for example Apache with `mod_fcgid` module. See
171171
[fano-fcgid](https://github.com/fanoframework/fano-fcgid) example demo application.
172172

173-
`TInetSvrFactory`, `TUnixSvrFactory` and `TBoundSvrFactory` are using [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`.
173+
`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.
174174

175175
See [Deploy as FastCGI application](/deployment/fastcgi) for information how to
176176
deploy FastCGI application on various web servers.

0 commit comments

Comments
 (0)