]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_{worker,prefork}: save some cycles by not copying the listener's pollfds
authorYann Ylavic <ylavic@apache.org>
Thu, 26 Feb 2015 12:54:23 +0000 (12:54 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 26 Feb 2015 12:54:23 +0000 (12:54 +0000)
commit03e91493d0054f5d8a60a11049c7bf72339abb6b
tree6a8758460c21403723613a6a51d13b7d388a8a12
parent67daf7d75e8e0fc338de9768f180e54a18d7fb67
mpm_{worker,prefork}: save some cycles by not copying the listener's pollfds
for each pollset operation.

We don't need a copy when poll()ing if those are allocated with the correct
lifetime (the listener thread) at the very beginning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1662437 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/prefork/prefork.c
server/mpm/worker/worker.c