--- libev/ev.pod 2019/09/06 22:17:52 1.457 +++ libev/ev.pod 2019/12/20 20:51:46 1.458 @@ -482,7 +482,16 @@ It's also required by POSIX in a threaded program, as libev calls C, whose behaviour is officially unspecified. -This flag's behaviour will become the default in future versions of libev. +=item C + +When this flag is specified, the libev will avoid using a C to +detect time jumps. It will still be able to detect time jumps, but takes +longer and has a lower accuracy in doing so, but saves a file descriptor +per loop. + +The current implementation only tries to use a C when the first +C watcher is started and falls back on other methods if it +cannot be created, but this behaviour might change in the future. =item C (value 1, portable select backend) @@ -4611,6 +4620,30 @@ =item EV_USE_EVENTFD +If defined to be C<1>, then libev will assume that C is +available and will probe for kernel support at runtime. This will improve +C and C performance and reduce resource consumption. +If undefined, it will be enabled if the headers indicate GNU/Linux + Glibc +2.7 or newer, otherwise disabled. + +=item EV_USE_SIGNALFD + +If defined to be C<1>, then libev will assume that C is +available and will probe for kernel support at runtime. This enables +the use of EVFLAG_SIGNALFD for faster and simpler signal handling. If +undefined, it will be enabled if the headers indicate GNU/Linux + Glibc +2.7 or newer, otherwise disabled. + +=item EV_USE_TIMERFD + +If defined to be C<1>, then libev will assume that C is +available and will probe for kernel support at runtime. This allows +libev to detect time jumps accurately. If undefined, it will be enabled +if the headers indicate GNU/Linux + Glibc 2.8 or newer and define +C, otherwise disabled. + +=item EV_USE_EVENTFD + If defined to be C<1>, then libev will assume that C is available and will probe for kernel support at runtime. This will improve C and C performance and reduce resource consumption.