3 ms·
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 m
by wahern 7y ago
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.
- tinkertamper 7y agoIs there any recommended books for CSP concepts?
- JJMcJ 7y agohttp://usingcsp.com/cspbook.pdf 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.
- tincholio 7y agoThere's "the CSP book", by Tony Hoare himself: http://usingcsp.com/cspbook.pdf http://usingcsp.com/cspbook.pdf