Michael Sierchio wrote:
Jack Lloyd wrote:
I believe Michael is actually talking about the "thundering herd"
problem, when
many processes are all waiting on a single event, which only one of
them will
end up responding to. That is a classic problem affecting some uses of
select
(and also accept, and IIRC a few other socket calls as well).
Precisely what I was thinking, though I suppose I should have
actually said it. ;-) Thanks.
Yes, but your words
"Who implements poll with select should suffer a fate worse than
death -- waking up a thousand sleeping threads to see if one
has some i/o ready is what poll was designed to avoid."
are not substantiated. Poll() provides no advantage over select()
for the thundering herd problem.
--
Lev Walkin
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager [EMAIL PROTECTED]