From: Giacomo Tesio <giacomo@tesio.it>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] A heartfelt thanks... :-)
Date: Sat, 17 Nov 2018 00:35:25 +0100 [thread overview]
Message-ID: <CAHL7psF+wk3jCfmb48N_TP5FwZrU7U8WpPi+AYOkMrNsMYWEGw@mail.gmail.com> (raw)
In-Reply-To: <1542404048.1432707.1579698600.25EB527C@webmail.messagingengine.com>
Il giorno ven 16 nov 2018 alle ore 22:39 Ethan Gardener
<eekee57@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
next prev parent reply other threads:[~2018-11-16 23:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 3:17 Giacomo Tesio
2017-01-06 9:34 ` Anthony Martin
2017-01-06 19:42 ` Giacomo Tesio
2018-11-16 2:03 ` Giacomo Tesio
2018-11-16 21:34 ` Ethan Gardener
2018-11-16 23:35 ` Giacomo Tesio [this message]
2018-11-17 17:18 ` Ethan Gardener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHL7psF+wk3jCfmb48N_TP5FwZrU7U8WpPi+AYOkMrNsMYWEGw@mail.gmail.com \
--to=giacomo@tesio.it \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).