Question
What mechanism would you implement in the process scheduler to automate the termination of a job that is in an infinite loop. Take into account jobs that legitimately use large amounts of cpu time for example on finding the first 10000 prime numbers