CS3413/Assignment5
2023-11-04 23:48:13 -03:00
..
.idea Mostly working a5 2023-11-02 21:08:48 -03:00
documentation Make a5 better? 2023-11-02 22:46:14 -03:00
lib Add in progress a5 2023-10-27 11:24:40 -03:00
submissions A5 as it was submitted 2023-11-02 23:53:29 -03:00
testing Mostly correct solution 2023-11-04 23:34:31 -03:00
CMakeLists.txt Add in progress a5 2023-10-27 11:24:40 -03:00
hard_affinity.c Clean up for submission 2023-11-04 23:48:13 -03:00
Process.md Finish a5 as much as it can be 2023-11-02 23:51:50 -03:00
README.md Finish a5 as much as it can be 2023-11-02 23:51:50 -03:00

How to run

To compile please run:

gcc -Ilib lib/process.c lib/queue.c hard_affinity.c

And to run please run:

./a.out < example.txt

In case of error

If that command to compile does not work, please place all C and C header files in the same directory and run:

gcc process.c queue.c hard_affinity.c

In case you need to move the files, for easy copying:

mv lib/process.c . & mv lib/queue.c . & mv lib/queue.h . & mv lib/process.h .