]> granicus.if.org Git - apache/commit
Removed some code from the mutex-protected block in ap_queue_pop().
authorBrian Pane <brianp@apache.org>
Mon, 29 Apr 2002 01:57:39 +0000 (01:57 +0000)
committerBrian Pane <brianp@apache.org>
Mon, 29 Apr 2002 01:57:39 +0000 (01:57 +0000)
commit69371c8cb3660d63883f1f43e987dd5caf2f7e2b
tree522a4501aeeaedf9f05b4b4277b38ec3c3d9c8ee
parent6d523a8f2c1258d2be4ea5d8765ecf99401c9952
Removed some code from the mutex-protected block in ap_queue_pop().
If the worker thread synchronization is working properly, it's not
necessary to set these fields to NULL after removing an element from
the queue, and it's IMO more important to have a shorter code path
leading up to the mutex_unlock.  I left in support for NULLing the
fields when debugging, though.

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