httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: worker mpm: can we optimize away the listener thread?
Date Thu, 29 Nov 2001 18:05:39 GMT
Ryan Bloom wrote:

> The model that Brian posted is exactly what we used to do with threaded,
> if you had multiple ports.  

No, you're missing a key difference.  There's no intra-process mutex in
Brian's MPM.  

One thread at a time is chosen to be the accept thread without using a
mutex.  Once it picks off a new connection/pod byte, it chooses the next
accept thread and wakes it up before getting bogged down in serving the
request.

Greg

Mime
View raw message