Messages in this thread | | | From | <> | Subject | RE: Bug 71331 - mlock yields processor to lower priority process | Date | Fri, 21 Mar 2014 12:18:45 +0000 |
| |
>How is that different from any other time a task has to yield the CPU >for a bit? While your high priority task is blocked for whatever >reason, a lower priority task gets to use the CPU.
As the submitter of the bug, let me give you my perspective. SCHED_FIFO means run my task until it blocks or a higher priority task pre-empts it. Period.
mlock() doesn't block. check the man page.
Any other way and you are not able to use priority based scheduling.
--bud davis
| |