]> 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)
commit3fcd09b25470c2a28fbba57e4492c72b8ce8c3ee
treeedae8fbab67eb3a8acfb7285d38fa14c8ee081e2
parenta82aac6dd083414cb702c69d0fccb9ba33f2e339
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