/[Apache-SVN]
ViewVC logotype

Revision 1837354


Jump to revision: Previous Next
Author: ylavic
Date: Fri Aug 3 09:53:42 2018 UTC (5 years, 8 months ago)
Changed paths: 2
Log Message:
event, worker: initialize the objects used by signal_threads() first.

Follow up to r1835845.

If a signal is received early when the MPM children start, signal_threads() may
be called concurrently with start_streads() thus before the latter (or its
underlying threads like the listener_thread) had a chance to create and init
the queues, mutexes, pollset and sockets array used by the former.

So move those initializations to a new setup_threads_runtime() function called
before start_threads(), where the pruntime pool is also created.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/server/mpm/event/event.c modified , text changed
Directoryhttpd/httpd/trunk/server/mpm/worker/worker.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26