/[Apache-SVN]
ViewVC logotype

Revision 1819938


Jump to revision: Previous Next
Author: ylavic
Date: Wed Jan 3 09:50:41 2018 UTC (6 years, 9 months ago)
Changed paths: 5
Log Message:
Merge r1819857, r1819858, r1819860, r1819861, r1819934, r1819935 from trunk:

testpoll: check that the wakeup pipe is still in the pollset after returning
from poll(), e.g. APR_POLLSET_PORT should re-arm it automatically.



poll, port: re-add the wakeup pipe to the pollset after it triggered.

Just like user fds (file, socket), otherwise it's one shot only (PR-61786).

Corresponding test committed in r1819857.



poll, port: no need to release and re-acquire the lock in between walking the
pollset and handling the dead ring, all is simple/fast/nonblocking ops.

Also, set types of "i" and "j" respectively to the ones of nget and *num.



poll, port: follow up to r1819860.

This test is redundant now, axe it (no functional change).



poll, kqueue: save a pollfd (mem)copy per returned event.



poll, epoll: pollset's pfd is not modified on poll(), mark it const.


Reviewed/backported by: ylavic


Changed paths

Path Details
Directoryapr/apr/branches/1.6.x/ modified , props changed
Directoryapr/apr/branches/1.6.x/poll/unix/epoll.c modified , text changed
Directoryapr/apr/branches/1.6.x/poll/unix/kqueue.c modified , text changed
Directoryapr/apr/branches/1.6.x/poll/unix/port.c modified , text changed
Directoryapr/apr/branches/1.6.x/test/testpoll.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26