318 B

159.341_Assignment_2

Uses semaphores to manage loading and unloading people into elevators on an example building. The task is designed in such a way that race conditions occur naturally, hence proper use of semaphores is required.

A sample run might look like so:

Sample run