--- libev/ev.3 2019/12/20 20:51:46 1.117 +++ libev/ev.3 2019/12/21 16:11:51 1.118 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "LIBEV 3" -.TH LIBEV 3 "2019-12-20" "libev-4.27" "libev - high performance full featured event loop" +.TH LIBEV 3 "2019-12-21" "libev-4.31" "libev - high performance full featured event loop" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -595,13 +595,6 @@ Signalfd will not be used by default as this changes your signal mask, and there are a lot of shoddy libraries and programs (glib's threadpool for example) that can't properly initialise their signal masks. -.ie n .IP """EVFLAG_NOTIMERFD""" 4 -.el .IP "\f(CWEVFLAG_NOTIMERFD\fR" 4 -.IX Item "EVFLAG_NOTIMERFD" -When this flag is specified, the libev will avoid using a \f(CW\*(C`timerfd\*(C'\fR 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. .ie n .IP """EVFLAG_NOSIGMASK""" 4 .el .IP "\f(CWEVFLAG_NOSIGMASK\fR" 4 .IX Item "EVFLAG_NOSIGMASK" @@ -615,8 +608,17 @@ .Sp It's also required by \s-1POSIX\s0 in a threaded program, as libev calls \&\f(CW\*(C`sigprocmask\*(C'\fR, whose behaviour is officially unspecified. +.ie n .IP """EVFLAG_NOTIMERFD""" 4 +.el .IP "\f(CWEVFLAG_NOTIMERFD\fR" 4 +.IX Item "EVFLAG_NOTIMERFD" +When this flag is specified, the libev will avoid using a \f(CW\*(C`timerfd\*(C'\fR 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. .Sp -This flag's behaviour will become the default in future versions of libev. +The current implementation only tries to use a \f(CW\*(C`timerfd\*(C'\fR when the first +\&\f(CW\*(C`ev_periodic\*(C'\fR watcher is started and falls back on other methods if it +cannot be created, but this behaviour might change in the future. .ie n .IP """EVBACKEND_SELECT"" (value 1, portable select backend)" 4 .el .IP "\f(CWEVBACKEND_SELECT\fR (value 1, portable select backend)" 4 .IX Item "EVBACKEND_SELECT (value 1, portable select backend)"