]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
event: avoid possible hang in clean_child_exit
authorEric Covener <covener@apache.org>
Mon, 11 Mar 2024 20:35:27 +0000 (20:35 +0000)
committerEric Covener <covener@apache.org>
Mon, 11 Mar 2024 20:35:27 +0000 (20:35 +0000)
commit179b1ac6a4adb14ab0f52fbc7431534db9e3e8c8
tree4089140f00739def3456bb1474399b889a39fd97
parent2ae427e697ffb6598de6e19b29c231fc0d6bb8dc
event: avoid possible hang in clean_child_exit

If the pthread_create failure isn't on the first worker thread,
another one is likely to hold the queue mutex already. The cleanup
of pchild will try to cleanup the queue and block on destroying
the condition.

ST_UNGRACEFUL as we have no listener thread yet.

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