]> granicus.if.org Git - apache/commit
clean up the fdqueue a bit more, by implementing Greg's
authorRyan Bloom <rbb@apache.org>
Mon, 1 Oct 2001 19:37:20 +0000 (19:37 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 1 Oct 2001 19:37:20 +0000 (19:37 +0000)
commit973dc48adcab06eafc9ccd0f9fd09a968aaf3e6f
tree145fac0cb47f64f73cc9c4cfc90210eb9ebe559e
parent3e1155b1156387bdfa19f9b13ce4c1c88a2324be
clean up the fdqueue a bit more, by implementing Greg's
suggestions to getting rid of redundant variables, as well as
converting the simple ap_queue_full/ap_queue_empty tests into macros.
This also reinstates the "not_full" condition, which turned out to
be useful afterall in cases where we wanted to prevent the listener
thread from accepting further connections until the worker queue has
room for more.

Submitted by: [Aaron Bannert <aaron@clove.org>]

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