]> granicus.if.org Git - apache/commit
* Recheck again if idle workers are still available when we are signaled that
authorRuediger Pluem <rpluem@apache.org>
Wed, 8 Oct 2008 13:32:07 +0000 (13:32 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 8 Oct 2008 13:32:07 +0000 (13:32 +0000)
commit4f4fec46e7cf5ba7f3301bbb7b5e8b60465499bd
tree4cb7f179603f9b2ad9772dd0aea020360035b10c
parentcacceb83252a8cf4381e8082bee404b70d17c1ee
* Recheck again if idle workers are still available when we are signaled that
  they are. This is needed since it can happen that we are signaled by a
  worker thread that went idle but received a context switch before it could
  tell us. If it does signal us later once it is on CPU again there might be
  no idle worker left. See
  https://issues.apache.org/bugzilla/show_bug.cgi?id=45605#c4

PR: 45605
Submitted by: Denis Ustimenko <denusk gmail.com>
Reviewed by: rpluem

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