summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-04-21 17:49:59 +0000
committerYann Ylavic <ylavic@apache.org>2023-04-21 17:49:59 +0000
commit711ea8faf439619cf4f7fadeb77d16d49b18621f (patch)
tree1d3e69aa01f78d736b2510bbdd12644f75e1e1c6 /CMakeLists.txt
parent88edf5b88311c9963990f0de75659d0caf68ac42 (diff)
downloadapr-711ea8faf439619cf4f7fadeb77d16d49b18621f.tar.gz
poll: Round up milliseconds timeouts.
When converting appr_interval_time_t (usecs) to system call's msecs, round up. apr_*poll() calls should wait *at least* the given timeout, not less. poll: Follow up to r1902236: Fix poll() sleeps cases. Don't convert timeout to milliseconds before potentially callig apr_sleep(). Tests for "poll() didn't sleep" now use the real timeout as lower limit. tests: check whether epoll_wait() timeout is reliable and adjust justsleep(). * configure.in: Small epoll_wait() loop to check timeout reliability and set HAVE_EPOLL_WAIT_RELIABLE_TIMEOUT. * test/testpoll.c(justsleep): Allow some jiffy is !HAVE_EPOLL_WAIT_RELIABLE_TIMEOUT. tests: Follow up to r1908616: Simplify epoll_wait() check. Merges r1902236, r1902258, r1908616, r1908618 from trunk. Submitted by: ylavic git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1909334 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions