Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_solaris_init.c @ 5707:31dd63dcb9ea
Events: use eventfd() instead of syscall(SYS_eventfd) if possible.
This fixes --with-file-aio support on systems that lack eventfd()
syscall, notably aarch64 Linux.
The syscall(SYS_eventfd) may still be necessary on systems that
have eventfd() syscall in the kernel but lack it in glibc, e.g.
as seen in the current CentOS 5 release.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 23 May 2014 16:37:05 +0400 |
parents | d620f497c50f |
children | 8f038068f4bc |
comparison
equal
deleted
inserted
replaced
5706:a2bf26774cd3 | 5707:31dd63dcb9ea |
---|