]> granicus.if.org Git - apache/commit
Rework locking on timeout_mutex. We now drop (and reaquire) the lock inside the...
authorPaul Querna <pquerna@apache.org>
Mon, 20 Aug 2007 22:11:00 +0000 (22:11 +0000)
committerPaul Querna <pquerna@apache.org>
Mon, 20 Aug 2007 22:11:00 +0000 (22:11 +0000)
commitf03a8b36dadbbfeeb5138c701cde61450b5ffee6
tree9a0bac698aef4f8a3a8be56394c6131dceb4ed50
parent1ed6868ef62e705dfa4012fdb7b41fc0d8b28226
Rework locking on timeout_mutex.  We now drop (and reaquire) the lock inside the while loops.  This is the least line of code changes to stop a dead lock between the queue in push2worker (a blocking function) and the timeout_mutex.  These two timeout list iterations should be rewritten with better locking rules, but for now this should fix the bug, without rewriting the entire function.
PR: 41712

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