rt_task_delete or rt_task_suspend strange behavior
Hi,
i'm using xenomai 2.5.6 stable implemented for Marvell mv78xx on Arm. I have a very strange behaviour.
I have 60 tasks and some tasks delete other tasks. In the case that one task delete/suspend a task that is just deleted/suspended, the next delete/suspend kill the wrong task and if i print the sequence i see that rt_task_delete or rt_task_suspend returned the value -3 (-ESRCH) that is NOT documented in the manual.
Unfortunately i can't send the source code because it's very large and i cannot see the problem with a small program.
Any ideas ?
Thanks for all