Hello.
1) Can you tell me, how to get the task id for the current (running) rt_task?
I have tried to use getpid(), but this function always gives the same id as
result.
I am running several periodic rt_tasks and need their id's.
2) In Xenomai the priority inheritance protocol is implemented.
Safe
Hans Søndergaard (HSO) wrote:
> Hello.
> 1) Can you tell me, how to get the task id for the current (running) rt_task?
> I have tried to use getpid(), but this function always gives the same id as
> result.
> I am running several periodic rt_tasks and need their id's.
You can use rt_task_self() o