httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brian.p...@cnet.com>
Subject [PATCH] remove some mutex locks in the worker MPM
Date Wed, 01 Jan 2003 01:30:19 GMT
I'm working on replacing some mutex locks with atomic-compare-and-swap
based algorithms in the worker MPM, in order to get better concurrency
and lower overhead.

Here's the first change: take the pool recycling code out of the
mutex-protected critical region in the "queue_info" code.  Comments
welcome...

Next on my list is the code that synchronizes the idle worker count.
I think I can eliminate the need to lock a mutex except in the
special case where all the workers are busy.

Brian


Mime
View raw message