Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2005 16:09:49 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Robert Watson <rwatson@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c
Message-ID:  <86d5kkbygy.fsf@xps.des.no>
In-Reply-To: <20051128002937.T17822@epsplex.bde.org> (Bruce Evans's message of "Mon, 28 Nov 2005 00:50:59 %2B1100 (EST)")
References:  <200511270055.jAR0tIkF032480@repoman.freebsd.org> <20051127230412.H28222@delplex.bde.org> <20051127125844.V81764@fledge.watson.org> <20051128002937.T17822@epsplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes:
> I can see a use for making a timestamp after select() returns, not for
> timeout purposes since the timeout should normally be for emergencies and
> it's relative so it doesn't need the current time, but just to record when
> things happen.

IIRC, POSIX allows (but does not require) select(2) to modify the
provided struct timeval to reflect how much time remains until the
original deadline.  Personally, I would find that very useful...

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d5kkbygy.fsf>