We had to create our own shell script (like bash) in Linux environment using C/C++.
Our shell should have the following functions:
-I/O Redirection(<, >, >>)
-Pipes
-Execution commands running on background
-Aliases
-Signals control
-myHistory
It is a Multi-Threaded Network Server, which is responsible for the parties pre-election poll:
We give as inputs:
-portNum
-numWorkerThreads
-bufferSize
-pollLog
-pollStats
The program consists of a Master thread and the Workers treads,its own with their tasks.
We had to synchronize the Master with the workers, without having BUSY-WAITING through the buffer