Re: [PATCH] 'select' failure or signal should not update timeout

Christoph Rohland (cr@sap.com)
22 Jul 2002 08:51:10 +0200


Hi Linus,

On Sun, 21 Jul 2002, Linus Torvalds wrote:
>> Yes, so everybody really using select assumes it's _at least_ X
>> seconds... So where's the problem?
>
> Have you tried to _do_ this? I doubt you have, since you think it
> works well already.

Well enough for me and my customers :-)

> The fact is, that if you're doing soft-realtime, you end up having
> to call gettimeofday() a lot more than you should.

OK, I do not do (soft-)realtime. For non-realtime needs the current
scheme with relative timeouts is easier to use since you do not need
to call gettimeofday at all.

Greetings
Christoph

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