cvs commit: src/sys/sys time.h src/sys/kern kern_time.c
des at des.no
Mon Nov 28 15:09:59 GMT 2005
Bruce Evans <bde at 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...
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src