CS3413/Assignment5
2023-11-02 23:51:50 -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
testing A5 basically works, but buggy 2023-11-02 23:35:12 -03:00
CMakeLists.txt Add in progress a5 2023-10-27 11:24:40 -03:00
hard_affinity.c Finish a5 as much as it can be 2023-11-02 23:51:50 -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 .