Messages in this thread | | | From | Eli Barzilay <> | Date | Sat, 26 Jul 2003 10:29:12 -0400 | Subject | Re: Repost: Bug with select? |
| |
On Jul 25, Philippe Troin wrote: > Looks like a bug to me. > Strace says: > > select(2, NULL, [1], NULL, NULL) = 1 (out [1]) > write(1, "hi\n", 3) = -1 EAGAIN (Resource temporarily unavailable) > > forever. > > Then select() should not return fd 1 as writable, at least not > reapeatedly.
Exactly -- I didn't even think of using strace where this is made obvious. (I don't have any solaris where I can run strace, but I wonder what does that say.)
-- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://www.barzilay.org/ Maze is Life! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |