Sat Jan 11 16:00:19 CET 2020


So how do you write a CSP scheduler?

This is essentially wingo's talk, but much simpler.


- Tasks can only suspend on channel read write.

- When a task suspends, if it has a partner, resume the partner, then
  resume the task.  Otherwise, add to wait queue.

There is one complication: select needs to be able to wait on multiple