[PATCH] do auto-unregister of other child registration

2001-04-26 Thread Jeff Trawick
This is mostly an APR patch but it fixes a symptom (segfault) associated with mod_cgid after doing "apachectl graceful" followed by "apachectl restart". I turned on Greg Stein's mprotect-based memory debugging to help test it out. Before, we were leaving registrations in the other_children list a

Re: thread locking within apr file io

2001-04-26 Thread Greg Stein
On Thu, Apr 26, 2001 at 11:57:26AM -0700, Justin Erenkrantz wrote: >... > We are currently using prefork because pthread is completely useless at > this point. Hopefully, the signals stuff gets fixed soon... Actually, > on FreeBSD, threaded MPMs are disabled, but no one tells APR, so it > defin

Re: cvs commit: apr/lib apr_pools.c

2001-04-26 Thread Greg Ames
[EMAIL PROTECTED] wrote: > > Add a nifty memory/pool debugging option: allocation everything on a page, > then turn the page inaccessible at "free" time. Causes segfaults on access. > way cool! Thanks. Greg

Re: thread locking within apr file io

2001-04-26 Thread rbb
On Wed, 25 Apr 2001, Roy T. Fielding wrote: > APR file io, when compiled with APR_HAS_THREADS (the default unless it > is specifically disabled or on a non-thread platform), is acquiring > mutex locks on every buffered file read or write. That is lunacy. > Whether or not locking is necessary must

thread locking within apr file io

2001-04-26 Thread Roy T. Fielding
APR file io, when compiled with APR_HAS_THREADS (the default unless it is specifically disabled or on a non-thread platform), is acquiring mutex locks on every buffered file read or write. That is lunacy. Whether or not locking is necessary must be decided by the caller, not by the library. The n