]> 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)
commit9aa869ec413b13c0c92d458fbe7369546367b3ce
tree6a8758460c21403723613a6a51d13b7d388a8a12
parent31843ffbd7b828443a4997bb57d2b2288f8d3143
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