diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-05-11 16:10:51 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-05-11 16:10:51 +0200 |
commit | 718784e57e19849445e18f1a95830da5e920d287 (patch) | |
tree | e488abc4189ef41825893d84672b5439fe051229 /erts/configure.in | |
parent | d8f6982b9661eca009fa612d3184088ce1cbb469 (diff) | |
parent | e6d3da55a2fe06730f3b92098ff8c13e16e3254b (diff) | |
download | otp-718784e57e19849445e18f1a95830da5e920d287.tar.gz otp-718784e57e19849445e18f1a95830da5e920d287.tar.bz2 otp-718784e57e19849445e18f1a95830da5e920d287.zip |
Merge branch 'egil/erts/high_accuracy_sleep/OTP-12236'
* egil/erts/high_accuracy_sleep/OTP-12236:
erts: Add high accuracy poll timeouts
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in index 8a9bf30433..62515fe081 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1760,6 +1760,10 @@ AC_CHECK_HEADER(sys/event.h, have_kernel_poll=kqueue) AC_CHECK_HEADER(sys/epoll.h, have_kernel_poll=epoll) AC_CHECK_HEADER(sys/devpoll.h, have_kernel_poll=/dev/poll) +dnl Check if we have timerfds to be used for high accuracy +dnl epoll_wait timeouts +AC_CHECK_HEADERS([sys/timerfd.h]) + dnl Check for kernel SCTP support AC_SUBST(LIBSCTP) if test "x$enable_sctp" != "xno" ; then @@ -2105,7 +2109,7 @@ AC_CHECK_FUNCS([ieee_handler fpsetmask finite isnan isinf res_gethostbyname dlop gethrtime localtime_r gmtime_r inet_pton \ memcpy mallopt sbrk _sbrk __sbrk brk _brk __brk \ flockfile fstat strlcpy strlcat setsid posix2time time2posix \ - setlocale nl_langinfo poll mlockall]) + setlocale nl_langinfo poll mlockall ppoll]) AC_MSG_CHECKING([for isfinite]) AC_TRY_LINK([#include <math.h>], |