httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c
Date Fri, 24 Aug 2001 06:08:21 GMT
On Thu, 23 Aug 2001, Justin Erenkrantz wrote:
 
> If you created the locks as INTRAPROCESS before fork()ing new children, 
> would each children's copy of the lock be isolated?  Maybe.  If so, 
> then the post_config hook works, but I think child_init makes a bit 
> more sense.  But, that's me.  -- justin

there must be other intraprocess locks created at startup time, i'd be
surprised if there's an issue.  one problem with using child init is that
not all mpms support it, notice theres a few missing:
% find . -name "*.c" | xargs grep ap_run_child_init 
./server/mpm/perchild/perchild.c:    ap_run_child_init(pchild, ap_server_conf);
./server/mpm/prefork/prefork.c:    ap_run_child_init(pchild, ap_server_conf);
./server/mpm/spmt_os2/spmt_os2.c:    ap_run_child_init(pchild, ap_server_conf);
./server/mpm/threaded/threaded.c:    ap_run_child_init(pchild, ap_server_conf);
./server/mpm/worker/worker.c:    ap_run_child_init(pchild, ap_server_conf);


Mime
View raw message