Skip to contentSkip to conversation

Native and Posix skins together

Xenomai Petr Cervenka 1 participant 1 message Sep 25, 2014

lore
Share & tools
lore
#0 lore raw

Hello.

I have a NATIVE skin application with using rt_task_shadow on the main task.
I recently added some library written in POSIX skin (ported from nrt to POSIX / RTNet).
But after adding correct linking flags, the function rt_task_shadow fails with -EBUSY error code.
Also rt_task_self returns NULL.
Is there a way to call such functions like rt_task_unblock and similar on the main task or do I need to rewrite it completely or partially? What is the proper POSIX skin counter part to rt_task_unblock? Is it pthread_kill(threadId, SIGHUP)?
And what skin do you suggest to use for any new RT application.

Thanks in advance

Petr