A Kahn Process Network you can schedule

The network from the lecture. f sends even numbers up and odd numbers down, each g passes tokens through, and h takes one token from the top, then one from the bottom, in turn. Every read blocks until a token arrives. Fire the processes in any order you like: the output never changes.

Output, in order produced

nothing yet

Schedule so far

–

Be the scheduler: fire one process (or click it in the picture)

Or let a schedule run

Example schedule: f f f f f gu h h gu gd gd gu h h h (slides 14–47). Space plays the next step.