Hello the developers,

I have been using Xenomai for the past two months on different targets / skins 
/ architectures, and it is a great real time solution !
For the past few days, I have been trying to use my code on a docker :

  *   Compiled on a debian 10.9 with Xenomai libraries (3.1) for an ARM target
  *   This code runs on a raspberry pi 3B with an IPIPE patch (Cobalt)
  *   The kernel version is 4.19+

My code is running fine with different methods, there is no crash.
However, the execution hangs when  I use the couple 
rt_task_set_periodic/rt_task_wait_period.
Methods such as "RTIME", rt_printf(), rt_task_set_periodic() do not hangs, but 
my code seems to keep waiting on rt_task_wait_period().

I am aware someone had this issue four years ago :
https://xenomai.org/pipermail/xenomai/2017-November/037890.html
According to the link above, Cobalt does not support PID namespaces.
I also understood it is needed to convert vpid <-> pid by using the 
find_task_vpid().

I am not an expert on the interaction between Docker and Linux - specifically 
on PID.
Is it a normal behaviour in my case ? Where would it be interesting to make 
these changes ?
What is the link between RT_TASK and PID / vPID ?

Regards,

Julien

Reply via email to