Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 22:01:28 -0700
From:      "Jordan K. Hubbard" <jkh@zippy.osd.bsdi.com>
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:  <46662.963464488@localhost>
In-Reply-To: Your message of "Wed, 12 Jul 2000 15:47:40 PDT." <XFMail.000712154740.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Wow.  Now THAT is an obscure bug - you have my admiration for
finding it.  And I thought for sure there was no way this could
happen simply by calling curses's refresh() function. :-)

- Jordan

> 
> 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?46662.963464488>