News for hackers. Stuff that matters.
Re:How are Unix pipes implemented? by wahern on Friday March 27, 2020 @03:33PM (#22706029)
Nice write up. The logic of the sleep and wakeup code, which explicitly pass control from writer to reader and back again, clearly shows how pipes lead to the more refined Communicating Sequential Processes (CSP) concept.
Re:How are Unix pipes implemented? by tinkertamper on Friday March 27, 2020 @03:57PM (#22706237)
Is there any recommended books for CSP concepts?
Re:How are Unix pipes implemented? by JJMcJ on Friday March 27, 2020 @04:42PM (#22706679)
http://usingcsp.com/cspbook.pdf is the classic.

It has some unusual notation you might need to get used to, but it's a real goldmine of ideas.

Re:How are Unix pipes implemented? by tincholio on Friday March 27, 2020 @04:43PM (#22706694)
There's "the CSP book", by Tony Hoare himself: http://usingcsp.com/cspbook.pdf