> (*Laziness kicks in*) How do you find...which one of mongrel id idle?
It's a fantastically subtle and complicated algorithm. Not.
The main thread handles incoming connections, and then there's one thread
per worker. The main thread does this:
while request = server.accept
queue.push request
end
And each worker does this:
loop do
request = queue.pop
# Handle the request ...
end
--
paul.butcher->msgCount++
Snetterton, Castle Combe, Cadwell Park...
Who says I have a one track mind?
MSN: [EMAIL PROTECTED]
AIM: paulrabutcher
Skype: paulrabutcher
LinkedIn: https://www.linkedin.com/in/paulbutcher
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users