Files
apache-http-server/server
Yann Ylavic d010a86e2d mpm_worker: Fix AH00045 about children processes not terminating timely.
* server/mpm/worker/worker.c(setup_threads_runtime):
  Create pollset with APR_POLLSET_WAKEABLE to be able to wake up the listener
  when stopping.

* server/mpm/worker/worker.c(wakeup_listener):
  Wake up the listener using the wakeup pipe (apr_pollset_wakeup).

* server/mpm/worker/worker.c(join_workers):
  Like mpm_event, don't depend on `pthread_kill(listener_thread, 0)` to check
  whether the listener has exited (this does not work on some systems), but use
  the "dying" global variable instead which is set by the listener just before
  exiting.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916926 13f79535-47bb-0310-9956-ffa450edef68
2024-04-12 11:02:31 +00:00
..
2023-03-14 15:48:41 +00:00
2022-04-04 08:24:09 +00:00
2022-06-28 16:49:43 +00:00
2022-04-04 08:24:09 +00:00
2024-01-24 14:44:49 +00:00
2023-06-09 11:18:02 +00:00