]> granicus.if.org Git - apache/commit
restart fixes for worker:
authorJeff Trawick <trawick@apache.org>
Sun, 24 Feb 2002 20:53:26 +0000 (20:53 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 24 Feb 2002 20:53:26 +0000 (20:53 +0000)
commit610f8046a4d10c67c4ceffcaf9581c1b1298301c
treeedae8fbab67eb3a8acfb7285d38fa14c8ee081e2
parent2580e701412e7eec86a9150305fe0bfec9cdc824
restart fixes for worker:

fix a segfault and a window in which we could miss joining
newly-created threads

we can't try to signal workers if the worker queue hasn't
been initialized (or we segfault)

make sure the start thread is done creating threads before
we try to join; otherwise we can just miss some of them and
not be able to clean them up properly

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