Altera_Forum
Honored Contributor
22 years agoHow to let uClinux non-preemptive
I want my application is non-preemptive when it is running.
I tried to use system call: sched_setscheduler(0, SCHED_FIFO, ) to make the user application non-preemtivable. It seems works. However, the led and sever segment still change and work as normal. How are these two components controlled? Are they controlled by processes or just hardware interrupt handler? do they still preempt my application? thanks!