arthurdiluz / os-semaphore

Implementation of the Semaphore algorithm, which's a synchronization mechanism to control the processes that are being executed in the critical section and being used by shared resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS-Semaphore

Implementation of the Semaphore algorithm, which is a synchronization mechanism to control the processes that are being executed in the critical section and being used by shared resources.

Project developed as an evaluation for the subject of Operating Systems offered by the State University of Northern Paraná and evaluated by professor Thiago Adriano Coleti on June 6, 2019.

How to run

In the project directory, execute the following commands:

> cd /src/

> python ./main.py

And the code will be executed over the rules setted on code, according to the homework's specifications.

The result will be available in results.txt placed in files/ directory.

About

Implementation of the Semaphore algorithm, which's a synchronization mechanism to control the processes that are being executed in the critical section and being used by shared resources.


Languages

Language:Python 100.0%