Implementation of Process Scheduler using, FCFS, SJF, Round Robin and Prio in C. Software Systems University Project 2022-2023. The project used the functions below:
- execl: for execting files.
- signals: SIGCHLD (for capturing the finished process), SIGSTOP AND SIGCONT (for stoping and starting a process).
- nanosleep: The quantum of the RR and PRIO
./scheduler [method] [quantum(optional)] [file name]
- Go to work file and make the Makefile. Produces 7 executable files from work.c, with different running times.
- Then go to scheduler file and compile scheduler.c gcc scheduler.c -o scheduler.
- Test the program with ./run.sh for some possible cases.
The project was implemented as a part of a university project. I claim no right.