Repository created to gather implementations for the Distributed Systems class (COS470 - 2021.1) from Poli-UFRJ.
First, enter the tp1 folder, where the various implementations are available.
Enter either the signals or pipes folder and run the following command:
make run
To build this project is required CMake. Open the sockets/producer/ or sockets/consumer/ folders, and run:
$ mkdir build
$ cd build
build $ cmake ..
build $ makeThe built application will be available in the path sockets/[producer/consumer]/bin
First, enter the tp2 folder, where the various implementations are available.
Enter either the spinlocks-counter folder and run the following command:
dotnet run -c Release -- <#threads> <#numbers>
Enter either the producer-consumer folder and run the following command:
dotnet run -c Release -- <#producers> <#consumers> <buffer_size>