On Mon, 3 Dec 2001, Philippe M. Chiasson wrote: > Added per-server configuration mutex locking, when changing things > like document_root. > > I had to pick between Perl mutex and APR mutex. Since the tipool > stuff already uses one Perl mutex, I decided to stay consistent.
there have been changes to the apr locking api since, might be worth looking to see if apr is lighter weight than the perl api. in any case, we need to think about this some more. there is a race condition in you patch. only locking when writing to the value means one reading could get trounced. we don't want the overhead of locking all the time for reads, since most apps probably won't be updating these fields. and without a doubt, we don't want to do any locking if the mpm is prefork. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
