On Fri, Nov 16, 2018, at 2:03 AM, Giacomo Tesio wrote: > Il giorno ven 6 gen 2017 alle ore 10:38 Anthony Martin > <al...@pbrane.org> 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?