Messages in this thread | | | Date | Thu, 6 Aug 1998 20:10:47 -0500 | From | maciej h babinski <> | Subject | select with 0 timeout |
| |
I'm writing the front end to a game, and I noticed that calls to select with only readhandles and a timeout of 0 often lock up. I've seen comments in various code that say that this is due to a bug in the 2.1.x kernels wherein if a select() gets stopped by an interrupt it sometimes resumes with an infinite timeout, and indeed, replacing libc select by a wrapper around ioctl(FIONREAD) fixes the problem. Is this a known problem? Is there a patch around? Is this libc5's fault, or is it in the kernel?
- 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.altern.org/andrebalsa/doc/lkml-faq.html
| |