httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Kasichainula <>
Subject Re: perchild on FreeBSD 5?
Date Wed, 14 Aug 2002 19:26:47 GMT
On Wed, Aug 14, 2002 at 10:36:53AM -0700, Brian Pane wrote:
> It's not entire libraries that will have to be mutexed, just
> calls to non-thread-safe functions within libraries.  That
> will reduce the concurrency of the server, but in general
> not so severely that it's only serving one request at a time.

Actually, it depends on the library. You could have multiple functions
in a library that all dork with a common bit of non-thread-local state.

You have to either mutex *all* calls to the library with one big lock,
or examine the library to make sure that it's safe to do less

View raw message