Aleksandar Bakic wrote:
> 
> Hi,
> 
> I am trying to combine the rate-monotonic scheduler with some RT FIFO
> examples from the Zentropix distribution. The problem seems to be that
> rt_task_make_periodic() activates not only the task that I want to be
> activated, but also a couple of other tasks. Also, I use
> (RT_TICKS_PER_SEC * <ms>) / 1000 to specify the period in


It is possible that you are getting an integer overflow in the multiply,
RT_TICKS_PER_SEC is a big number and could oveflow so care is needed.


> milliseconds. While I expect results from the specified task via its
> assigned RT FIFO, I get more "results" from other tasks on almost
> arbitrary (i.e., not their assigned) RT FIFOs. For periods of 20 and
> 200 milliseconds, the results and "results" arrive quickly, but for
> 2000 only one arrives in 10 seconds. I can provide source code...
> 

If you can post a cut down sample that shows the same problem, it may be
possible to spot the problem

Regards

Stuart.

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to