Re: wish /bin/sleep handled fractions of a second.

[ Available lists | Index of freebsd-hackers | Month of Oct 1997 | Week of 12 Oct 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Date
12 Oct 1997 08:14:30
Subject
Re: wish /bin/sleep handled fractions of a second.
Message-ID
199710121354.OAA03525@labinfo.iet.unipi.it


[ Hide this part ]
> 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


Elapsed time: 0.046 seconds