thread of the child process becomes a worker thread.
Prior to this, perchild segfaulted over and over at startup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88396
13f79535-47bb-0310-9956-
ffa450edef68
}
}
- /* This thread will be the one responsible for handling signals */
- worker_thread(&worker_thread_free_ids[max_threads]);
+ /* This thread will be be a worker thread too. */
+ worker_thread(&worker_thread_free_ids[max_threads - 1]);
}
}
}
- /* This thread will be the one responsible for handling signals */
- worker_thread(&worker_thread_free_ids[max_threads]);
+ /* This thread will be be a worker thread too. */
+ worker_thread(&worker_thread_free_ids[max_threads - 1]);
}