Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 17:58:56 +0200
From:      "Jeremy D'Hoinne" <jeremy.dhoinne@netasq.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   select() behavior when system date changes precisions.
Message-ID:  <20020718175856.2a5dd923.jeremy.dhoinne@netasq.com>

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

I've forgottent to precise that servers involved use thread library
(compilation with -pthread flag)

Jeremy D'Hoinne

--- original post ---

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.
---------

	That is a problem when summer time changes occurs, select() 
	might block for an hour.

	Is this a known problem ? 
	Is there a way that select() acts differently ?

Thanks for your answers,
Jeremy D'Hoinne
--- end of original post ---
	

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?20020718175856.2a5dd923.jeremy.dhoinne>