[coyotos-dev] Sleep for interval
Math Gasm
math.gasm.ttg at gmail.com
Thu Oct 4 02:30:48 EDT 2007
Hi!
On 10/1/07, Jonathan S. Shapiro <shap at eros-os.com> wrote:
>
> On Sun, 2007-09-30 at 19:51 -0700, Charles Landau wrote:
>
> > 2. If the returnee exits the receiving state, the resume key held by
> > the sleep object (in this case the kernel) becomes void, and no
> > wakeup occurs.
>
> What storage does the kernel use to hold this resume capability?
>
Does it need to be in the kernel? Sleep for interval seems trivial- don't
bother scheduling the process before that time. Sleep until wall time is
just as easy, a scheduler can keep a linked list of processes to be
woken up and check it against a time server every now and then.
We will need to checkpoint wall-time scheduling requests, though.
Is there some conceivable reason that won't work with the way sched-
uling works today?
-William Leslie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.coyotos.org/pipermail/coyotos-dev/attachments/20071004/f6153b82/attachment.html
More information about the coyotos-dev
mailing list