Re: select() fails... sometimes

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 20 May 1999 18:18:37 +0200


mgarcia@bjssoft.es wrote:
> I have a problem using select() on several handles. It does work fine
> but, under some circumstances, it returns inmediately ignoring the
> timeout argument, indicating that handle zero (stdin linked to a
> socket via inetd) has something to read, but "read()" gets nothing at
> all.
>
> Once it happens it doesn't stop until something is received by some
> other handle. It's very annoying since the CPU load grows enormeously.

Interesting. I get this problem under GNU/Win32 :-)

-- Jamie

-
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/