from the time we begin our shutdown exercise.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94438
13f79535-47bb-0310-9956-
ffa450edef68
*/
shutdown_in_progress = 1;
+ /* Tell the worker threads they may exit when done handling
+ * a connection.
+ */
+ workers_may_exit = 1;
+
/* Close the listening sockets. */
for (lr = ap_listeners; lr ; lr = lr->next) {
apr_socket_close(lr->sd);
"Child %d: Failure releasing the start mutex", my_pid);
}
- /* Tell the worker threads they may exit when done handling
- * a connection.
- */
- workers_may_exit = 1;
-
/* Shutdown the worker threads */
if (osver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
for (i = 0; i < nthreads; i++) {