[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Timed wait/sleep
From: |
Amin Azez |
Subject: |
RE: Timed wait/sleep |
Date: |
Sat, 7 Jul 2007 07:47:44 +0100 |
Donzt beat me for this, but grub2 sounds more like a kernel every day.
I almost want to suggest nicking things from hurd.
Grub2 could even be the init on a minimal hurd setup, surely?
Cough
Sam
-----Original Message-----
From: "Alex Roman" <address@hidden>
To: "The development of GRUB 2" <address@hidden>
Sent: 06/07/07 23:21
Subject: Re: Timed wait/sleep
On 06 Jul 2007 17:04:19 -0500, Haudy Kazemi <address@hidden> wrote:
> On Jul 6 2007, Alex Roman wrote:
> I'd avoid straight loops...with those you run into processor speed
> issues...runs too fast on new CPUs, runs too slow on old hardware. Of
> course I guess you could calibrate some straight loops to the RTC, and then
> use the loops rather than polling the RTC periodically, but I don't think
> the extra level of complication would provide any real benefit.
Yes, I am reluctant to use loops for that reason.
I could definitely do a simple read RTC in a loop until the time
difference from when I started the loop is what I want it to be...
I'll try to get that working, but I am open to other suggestions as well!
Thanks!
--
Alex Roman <address@hidden>
_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel