[coyotos-dev] coyotos.sleep, sleepTill, the epoch

Jonathan S. Shapiro shap at eros-os.com
Wed Feb 7 20:53:54 CST 2007


On Thu, 2007-02-08 at 00:06 +0100, Valerio Bellizzomi wrote:
> On 07/02/2007, at 17.37, Jonathan S. Shapiro wrote:

> >Since we don't report uptime, we don't track it anywhere. There is no
> >notion of counting uptime at all. I'm confused by the question.
> 
> Why are you confused?  is there any means to know how long the machine has
> been up ?

Nothing in the kernel or the boot mechanism provides any support for
this. There will probably be some mechanism to be notified of restarts,
and this can be used to implement uptime at user level.

> It is non confirming if you want to strictly conform to POSIX. But for
> what concerns hard real-time and some scientific applications, the
> critical words are "Time values from these systems do not suffer the
> ambiguity that strictly conforming POSIX systems or NTP-driven systems
> have."
> 
> If I want to conform to another time scale, where in the code I need to
> make changes ?

When we write the time handling code we'll figure it out. You're about a
year ahead of us.

shap



More information about the coyotos-dev mailing list