This project contains the implementation of the threads and pipes exercise proposed at the Dstributed Systems class of Computer Engineering at Federal University of Rio Grande.
We had to run four different threads: one reading an keyboard input and putting on a pipe, another one reading the pipe of inputs and distributing to two distinct pipes, and two threads reading the last pipes to print the inputs with different identifications.
The pipes and threads directories contains the pipes txt files, libraries and source codes fundamental to the system working.
The run.sh file compiles and executes the project.
The main function creates the four threads and runs an infinity loop.
To run the project just run the following command:
sh run.sh