From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <1542404048.1432707.1579698600.25EB527C@webmail.messagingengine.com> From: Ethan Gardener To: 9fans@9fans.net MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" References: <20170106093414.GA26942@alice> In-Reply-To: Date: Fri, 16 Nov 2018 21:34:08 +0000 Subject: Re: [9fans] A heartfelt thanks... :-) Topicbox-Message-UUID: ef7d259a-ead9-11e9-9d60-3106f5b1d025 On Fri, Nov 16, 2018, at 2:03 AM, Giacomo Tesio wrote: > Il giorno ven 6 gen 2017 alle ore 10:38 Anthony Martin > ha scritto: > > I'm interested in reading about your awake system call and the changes > > you've made to rendezvous and the variuos locks in libc. > > Hi Anthony, sorry for the 2 years delay, but I've finally wrote about awake. > http://jehanne.io/2018/11/15/simplicity-awakes.html > > Feel free to ask any question! I like this single interface to timeouts. I'm very much in favour of things like this rather than jamming features into interfaces. 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?