From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <20170106093414.GA26942@alice> <1542404048.1432707.1579698600.25EB527C@webmail.messagingengine.com> In-Reply-To: <1542404048.1432707.1579698600.25EB527C@webmail.messagingengine.com> From: Giacomo Tesio Date: Sat, 17 Nov 2018 00:35:25 +0100 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset="UTF-8" Subject: Re: [9fans] A heartfelt thanks... :-) Topicbox-Message-UUID: ef813874-ead9-11e9-9d60-3106f5b1d025 Il giorno ven 16 nov 2018 alle ore 22:39 Ethan Gardener 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