This is an old revision of the document!
PHP's gd library is missing or unable to create PNG images
Week 9
Assignment: Dining Java Philosophers
- Assign 4, due Wed, Apr 3, 11:59pm
- or do you need an extension?
- questions?
Monitors
- Ben-Ari slides: PDF
- slide 7.6 (p. 165)
- My monitor notes: PDF
- Class participation with monitors:
- The One-Lane Bridge problem:
Cars coming from the north and south arrive at a one-lane bridge. Cars heading in the same direction can cross the bridge at the same time, but cars heading in opposite directions cannot.
- can we find a way to be safe, fair, and efficient?
- PDF (with thanks to Charlie Hughes!)
Channels
- CSP and Go!
- Hoare's 1978 CSP paper: https://spinroot.com/courses/summer/Papers/hoare_1978.pdf
- Go implementation of examples from paper: https://godoc.org/github.com/thomas11/csp
- Rob Pike's Google I/O 2012 - Go Concurrency Patterns: https://youtu.be/f6kdp27TYZs
- Peter Welch's slides introducing CSP and occam-pi (but we will use Go this semester!)