i just modified my kernel so that it act like SCHED_FIFO scheduling policy...now i have to write a program to test my policy this is the part that i have trouble with.

For example, i want to create 10 process and realtime priority (1-99) assigned to each and it will print out a different message just to prove that it has been executed. To create 10 processes we have to create a loop like this: