Simon Leonard wrote:
> I have code based on the POSIX skin. For a (python related) reason, I
> had to re-compile Xenomai with --enable-dlopen-skins. The result is that
> unless I call rt_task_shadow, my threads don't work like they used to.
Mmmm. Normally, without --enable-dlopen-skins, only the main thread is
automatically made real-time.
>
> Although I *think* my code works by mixing rt_task_shadow with the POSIX
> skin I'm not convinced that it is legit. Can anybody advise?
It works, but, there are services in the POSIX skin which will only work
if the thread is a posix skin thread, not if it is a native skin thread.
Anyway, you can use pthread_setschedparam instead of rt_task_shadow.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help