GNU bug report logs - #22495
sleep: doc: mention approximate sleep time

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 30 Jan 2016 21:04:02 UTC

Severity: wishlist

Full log


Message #8 received at 22495 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>,
 22495 <at> debbugs.gnu.org
Subject: Re: bug#22495: sleep floating point docs
Date: Sat, 30 Jan 2016 14:18:26 -0800
積丹尼 Dan Jacobson wrote:
> Add:
>
> *GNU sleep will pass that floating number to the system, which might or
>   might not ignore the time indicated after the decimal point.
>
> OR
>
> *GNU sleep will round / truncate? the number into a whole number, before
> sending it to the system.

"sleep" has always been approximate.  If you issue a "sleep X" command, all that 
you can count on is that you sleep for at least X seconds.  We shouldn't 
document the internals of how "sleep" accomplishes this.  That being said, it 
might make sense to say "sleep is approximate", if we're not saying it already.




This bug report was last modified 6 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.