Preetam Joshi wrote:
> Hi using it inside the task loop wwud give me RT_TASK_info as undeclared
> its a global structure even as mentioned in the API documentation and
> the behavior wud neways still remain the same as i mentioned in the code?
>
> Please execute the code and comment.
I see nothing in rt_task_inquire documentation which suggests that info
should be a global variable. Please make the variable info local to each
thread, and call rt_task_inquire every time you want to get a task's
priority. If you still observe something abnormal, please report.
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help