Il giorno ven 16 nov 2018 alle ore 22:39 Ethan Gardener
<eeke...@fastmail.fm> ha scritto:
> Please forgive my laziness in not reading the code, but how do you actually 
> implement sleep?  Does the process read a file guaranteed to block forever, 
> or what?

No problem. Actually sleep is very short:
https://github.com/JehanneOS/jehanne/blob/master/sys/src/lib/c/9sys/sleep.c#L23

The blocking system call used in sleep is rendezvous that, in Jehanne,
can never occur at tag ((void*)~0).


Giacomo

Reply via email to