problem using sched_fifo
problem using sched_fifo ( post #1)
members,
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. I have a feeling that the processes are taking up higher priority as compared to the shell itself.
Please help with some debugging
Thanks
venu
|