Jan Kiszka wrote:
> [ can be pulled from git.xenomai.org/xenomai-jki.git queues/assorted ]
> 
> Keep the result of rt_task_self() in a local variable to avoid the
> second invocation.

Maybe we could create a pure/const variant of rt_task_self() for use in
task.c only which would avoid the double evaluatino ?

-- 
                                            Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to