Date: Fri, 19 Jul 2002 00:17:29 +0200 From: Bernd Walter <ticso@cicely5.cicely.de> To: "Jeremy D'Hoinne" <jeremy.dhoinne@netasq.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: select() behavior when system date changes Message-ID: <20020718221728.GB39237@cicely5.cicely.de> In-Reply-To: <20020718162622.60f83271.jeremy.dhoinne@netasq.com> References: <20020718162622.60f83271.jeremy.dhoinne@netasq.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 18, 2002 at 04:26:22PM +0200, Jeremy D'Hoinne wrote: > Hi, > > I have a problem with many server daemons. > select() might block for a long time if system date changes. > > --------- > Example : > at 10h00am > I call select() with a timeout argument set to 2min, > > at 10h01am, time changes to 09h59am. > > select() returns at 10h02am, it has blocked during 5 minutes. Normaly time only goes forward and never skips. > --------- > > That is a problem when summer time changes occurs, select() > might block for an hour. The time never changes. Daylight changes are only a different representation. > Is this a known problem ? > Is there a way that select() acts differently ? -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020718221728.GB39237>