This repository consists of two projects:
- jobs_management
- multithread_network (vrs 1 and 2)
Jobs_management is a client-server program, where the client (commander) and the server (executor) communicate via named pipes. It undertakes the execution of tasks received from an input file.
To run:
make
cd bin
./jobCommander <command_name> <arguments>
Multithread_network is a multithreaded network application, an extension of jobs_management. The second version only has different directory structure.
To run (open at least 2 terminals):
- Terminal 1:
make
cd bin
./jobExecutorServer [portNum] [bufferSize] [threadPoolSize]
(ex ./jobExecutorServer 7856 5 8)
- Terminal 2(+):
cd bin
./jobCommander [serverName] [portNum] [jobCommanderInputCommand]
(ex ./jobCommander linux18 7856 issueJob ./progDelay 15)