]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_worker: replace apr_atomic_cas32(+1) loop with the more efficient
authorYann Ylavic <ylavic@apache.org>
Fri, 5 Dec 2014 13:54:30 +0000 (13:54 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 5 Dec 2014 13:54:30 +0000 (13:54 +0000)
commit924ee6ef1c43bba7c4ed3817afb8d038a862b0d2
tree92b93850b06a4e872d2c107be12c75ea2fab35de
parentb999894b96363b7d131422fa355f7a3e1df3fccb
mpm_worker: replace apr_atomic_cas32(+1) loop with the more efficient
apr_atomic_inc32().
Also declare fd_queue_info_t's idlers member as volatile since it is
used outside atomic functions (or it could be optimized out by the
compiler).

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