Skip to contentSkip to conversation

rt_task_delete or rt_task_suspend strange behavior

Xenomai-core Roberto Bielli 1 participant 1 message Jul 27, 2011

lore
Share & tools
lore
#0 lore raw

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