[coyotos-dev] Sleep for interval
Sam Mason
sam at samason.me.uk
Fri Oct 5 07:45:31 EDT 2007
On Mon, Oct 01, 2007 at 09:46:33AM -0400, Jonathan S. Shapiro wrote:
> Well, for my part I have never liked the "block the caller" design
> either. I did it because I couldn't figure out how to make the kernel
> storage requirements work doing it your way. It is very possible that I
> simply didn't think about it hard enough.
How hard is the caller blocked? If it can't receive any messages then
how would a normal program, the venerable "sleep" program under Unix for
example, receive any other messages, say the equivalent of a SIGTERM
under Unix. Or am I missing something and interruption of sleep is
unnecessary/bad in some way. The only way I can see it working is with
a helper thread, but then I seem to get into all the reasons for why the
IPC mechanism was changed for Coyotos.
Sam
More information about the coyotos-dev
mailing list