Messages in this thread | | | Date | Mon, 22 Jul 2002 05:59:48 +0200 | From | Edgar Toernig <> | Subject | Re: [PATCH] 'select' failure or signal should not update timeout |
| |
Linus Torvalds wrote: > > In contrast, if you could just rely on absolute time in select(), you > would be re-startable _and_ you'd not have to do the extra "what time is > it now, so that I know what timeout I need to use for the next thing"?
I agree. Absolute times are nicer. Just one note: to make that work you need a sane time source! gettimeofday jumps back and forth. You want a getuptime (or similar) that gives a constant monotonous growing value not adjustable from userspace (and preferably the same for all processes).
Ciao, ET. - 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/
| |