Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 1997 14:54:38 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        xaa@stack.nl (Mark Huizer)
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG, denny1@home.com
Subject:   Re: wish /bin/sleep handled fractions of a second.
Message-ID:  <199710121354.OAA03525@labinfo.iet.unipi.it>
In-Reply-To: <19971012152916.52277@xaa.stack.nl> from "Mark Huizer" at Oct 12, 97 03:28:57 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I'd like it too. Is it too tough? Perhaps in 2 weeks, after finishing my
> graduation, I could look at it. Either you change sleep to look like:
> 
> sleep [-m] NUMBER
> 
> where -m means: the NUMBER is in milliseconds
> 
> or you make it:
> 
> sleep NUMBER[.NUMBER]
> 
> where .number is the decimal part of the second.
> 
> Any preferences?

better the one with fractional notation, and since you are at it, make
it handle microseconds or in 3-4 years with the Intel-P9 @ 2.49GHz
we are going to have the same problem of not enough resolution...

	Cheers
	Luigi



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