Thus spake Mark Delany ([EMAIL PROTECTED]):
> If all he's trying to achive is reduce forking on his Solaris box, I
> concur. However if we generalize the question, I don't know that I'd
> draw the same conclusion.
> If any area of qmail would benefit for threading, it might be the
> remote delivery mechanism - currently handled by Batman and Robin, er,
> sorry, qmail-rspawn and qmail-remote.
Nothing benefits from multithreading.
It makes the code hard to understand, creates new problems (one thread
dies, the whole app dies), kills resource limits, and is not even
faster.
There is no reason to use multithreading except if you are a marketing
guy at Sun or Microsoft and your analysis says that it is cheaper to ram
multithreading down people's throats than to fix the insanely huge
process creation latency of your broken poor excuse of an operating
system.
Felix