rt_task_create does not return an error.

Looking through src/skins/native/task.c, I see that rt_task_create actually
does start another thread.. rt_task_trampoline. So, I'm thinking possibly
this is the thread that gdb is telling me has exited, not my thread?

rt_task_start does return an error... -3.. which is "no such process" (I
think..) that would be consistent with my thread exiting prematurely.

It looks like rt_task_trampoline is supposed to hang around until
rt_task_start is executed, (the do while loop) but perhaps that loop exits
with an error other than EINTR? It seems possible that do while could exit
and still have a null entry pointer..

I'm guessing that trampoline is named that way because you bounce from that
task into the real task at the entry(cookie) line..
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to