Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 13:47:15 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        alfred@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc_r/uthread uthread_kern.c
Message-ID:  <199908191747.NAA21199@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
> alfred      1999/08/19 09:49:54 PDT
> 
>   Modified files:
>     lib/libc_r/uthread   uthread_kern.c 
>   Log:
>   handle under/overflow of time values in a more robust manner,
>   there may be an overflow that need to be adjusted more than once.

I think this is a coverup for the real problem.  Timevals and Timespecs
should be validated in pthread_cond_timedwait(), select(), nanosleep(),
etc, and errno set appropriately (EINVAL returned for pthread_cond_timedwait).
Correcting for the subtraction of two _valid_ tv_nsec fields should only
need to be done once.

Dan Eischen
eischen@vigrid.com


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




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