Start Xenomai User-Space Task as Service
Hi everyone,
I have a problem with xenomai user-space task. I write a very simple xenomai user-space task with one real-time thread, and try to start it as service. I do it properly. but when change this program with another xenomai user-space task with 10 real-time threads and some FIFO, queue, ... ; the task can not start and fail. also this problem appear when system reboot and try to stop this task. although when system is up and I run (service my-service [start/stop]) it work without any problem.
I glad to see your comments.
Best regards.
Quoted 5 lines · Yasser Kashfi
Hi everyone,
I have a problem with xenomai user-space task. I write a very simple xenomai user-space task with one real-time thread, and try to start it as service.
What does "start as a service" mean?
Quoted 3 lines
I do it properly. but when change this program with another xenomai user-space task with 10 real-time threads and some FIFO, queue, ... ; the task can not start and fail.
What do you mean it fails? What function call returns what return value?
Quoted 2 lines
also this problem
appear when system reboot and try to stop this task.
What problem? Obviously it is not the "service" which does not start, so, what is it ?
Quoted 5 lines
although when
system is up and I run (service my-service [start/stop]) it work without any problem.I glad to see your comments. Best regards.
To really help you we need more than this mail. The program which fails, any log, any oops ?
Signature · 1 line
Gilles.