.. | ||
.idea | ||
documentation | ||
lib | ||
submissions | ||
testing | ||
CMakeLists.txt | ||
hard_affinity.c | ||
Process.md | ||
README.md |
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 .