Re: Linus on Linux, Apache and Threads

Bernd Eckenfels (ecki@lina.inka.de)
Wed, 28 Apr 1999 04:22:34 +0200


In article <3725B515.5CFD6E9D@varcom.com> you wrote:
> I'm interested in this too. Tony's point was my immediate thought:
> pthread_cond_signal is an obvious implementation of a solution to the
> 'thundering herd' problem. But it has apparently been discounted.

The reason for this is, that you do accept() in multiple threads (or select)
but not sleep, which can be interrrupted by cond_signal. Since the "signal"
is issued by the kernel.

Greetings
Bernd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/