Student-Markers problem

The aim of this project was to use C posix threads. This is something like the dining philosophers problem but a bit more advanced. A student must find two free markers to mark him and then release them after finishing. More details and souce are found in the attachment. [Source]