All the timing mechanisms are implemented in the file
timer.c
. The scheduler uses the UNIX signal mechanism to implement these software interrupts. If your system is UNIX compliant, then you do not have to modify the code. If your system does not support these calls, you have to replace the set timer calls with other software interrupt calls available on your system.