[coyotos-dev] Sleep, wakeup, and persistence
Valerio Bellizzomi
devbox at selnet.org
Wed Sep 26 21:04:39 EDT 2007
On 16/09/2007, at 14.44, Valerio Bellizzomi wrote:
>On 15/09/2007, at 19.33, Charles Landau wrote:
>
>>At 12:46 AM +0200 9/16/07, Valerio Bellizzomi wrote:
>>>The current sleep interface could have an additional parameter: Enable
>>>wakeup on system restart,
>>
>>Use the Principle of Least Authority. If a program has no need to
>>know about restarts, it should have a capability that has no option
>>to reveal restarts.
>
>Ok. The sleep interface doesn't need the additional parameter, but the
>*schedule capability* should define if the program must be awaken on
>system restart.
More thinking on this question. It is a scheduling issue. There are the
process, the schedule capability, and the schedule which implements the
scheduling contract.
The schedule should obey what is defined in the schedule capability. If
the schedule capability has the option to reveal restarts, the process
should be allowed to react to restarts.
Note that no conclusions are drawn at the moment.
val
More information about the coyotos-dev
mailing list