problem using sched_fifo
I have been tryin to use sched_fifo command, I have created two processes(using fork) and assigned priorities to them using sched_fifo scheduler. and setparam function. The program itself has to print a's in one process and b's in another. I have created a delay in printing using a dummy for loop. the expected output is
a <delay> a ........
but what its actually doing is throwing out all the output atonce.
I did make the delay large enough for it to take considerable amount of time.
Please help with some debugging