- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
They are manipulated by a kernel timer, which is handled in interrupt time (softirq). So it is normal they are still going.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page