Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 17:18:55 -0700 (PDT)
From:      Scott Hess <scott@avantgo.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: select() behavior when system date changes
Message-ID:  <Pine.LNX.4.44.0207181714170.30524-100000@river.avantgo.com>
In-Reply-To: <3D374509.DA9EF368@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Jul 2002, Terry Lambert wrote:
> Arguably, select(2)'s timer *should* be a delta timer, rather than an
> endpoint timer, but... absolute, or relative?  The answer depends on the
> application, doesn't it?

Absolutely absolute.  Applications should be written to accomodate early
returns from select().  [Of course, nobody but _nobody_ seems to bother
coding with the Unix paradigm of returning EINTR or similar results rather
than restarting the system call in mind.]

Later,
scott


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0207181714170.30524-100000>