/LittlePlaygroundOfSemaphores

VM with an instruction set enough to model situations from The Little Book of Semaphores

Primary LanguageJavaScript

The Little Playground of Semaphores

A virtual machine with an instruction set enough to model situations from The Little Book of Semaphores. machine.js runs as is in Khan Academy's programming environment.

Two threads and a mutex