On 04/10/2012 02:33 PM, Roberto Bielli wrote:
> Il 10/04/2012 13:49, Gilles Chanteperdrix ha scritto:
>> On 04/10/2012 12:39 PM, Roberto Bielli wrote:
>>> Hi Gilles,
>>> i tried your code but th behavior is the same.
>>> Then i tried a linux base app and works correctly.
>> In the exact same conditions? With the crunching task running with
>> SCHED_FIFO, priority 1, and the periodic task running with SCHED_FIFO,
>> priority 99, and the linux real-time throttling disabled?
> Yes, and i see that every LATCH ( about ~10ms ) period the task with
> higher priority is wakeup.
> So a task with lower priority is interrupted by timer interrupt and
> reschedule the task with higher priority.
You need CONFIG_HIGH_RES_TIMERS to be in the same case as xenomai.
Xenomai-core mailing list