Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2013 12:24:39 +0800 (SGT)
From:      Quark <unixuser2000-fbsd@yahoo.com>
To:        Joshua Isom <jrisom@gmail.com>, Kenta Suzumoto <kentas@hush.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: BSD sleep
Message-ID:  <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com>
In-Reply-To: <51A541B5.3010905@gmail.com>
References:  <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com>

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



>You think it's trivial until you read this:
>
>http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
>
>If you sleep one hour, do you sleep one hour from now or one hour from 
>the system clock which may change in the next hour?  If it's the system 
>clock, you may sleep for ten minutes or ten hours.  If you need to sleep 
>for 3600 seconds, that's simple and understandable.


what is stopping from interpreting 1h in similar manner to 3600? i.e. from now



help

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