Lazy Foo' Productions

Semaphores
In this tutorial we'll use semaphores to lock threads to prevent them from crashing into each other.