Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 15:47:40 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern sys_generic.c
Message-ID:  <XFMail.000712154740.jhb@FreeBSD.org>
In-Reply-To: <200007122246.PAA19559@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12-Jul-00 John Baldwin wrote:
> jhb         2000/07/12 15:46:41 PDT
> 
>   Modified files:
>     sys/kern             sys_generic.c 
>   Log:
>   Fix a very obscure bug in select() and poll() where the timeout would
>   never expire if poll() or select() was called before the system had been
>   in multiuser for 1 second.  This was caused by only checking to see if
>   tv_sec was zero rather than checking both tv_sec and tv_usec.

This fixes the recent hangs in sysinstall in -current where you had to press
a key to get sysinstall to continue.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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?XFMail.000712154740.jhb>