Messages in this thread | | | Date | Fri, 17 Mar 2000 03:53:11 +0100 | From | Edgar Toernig <> | Subject | Re: SA_RESTART and select (was: Using alarm() to break...) |
| |
Andi Kleen wrote: > Edgar Toernig <froese@gmx.de> writes: > > In a similar case I noticed that SA_RESTART is ignored for select(). > > IMO a very strange behaviour! Is the xview clock binary really the > > only reason??? > > If select was restarted it would wait its timeout again. > With a SIGALRM timer in just the right period you could make a select() > block forever, even if it was supposed to timeout.
This sounds at least like a reason *g* But with a sane behaviour of select regarding the timeval (return the remaining timeout as linux normally does) this shouldn't happen.
Ciao, ET.
- 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/
| |