we have been seeing several issues with calling xenomai_init multiple
times for the same skin. Once it was a segfault and another time was an
issue related to the registry.
I want to come up with patches for both cases, but i would like to
understand how it is supposed to work.

My guess is that all the stuff in boilerplate/setup.c is not
thread-safe and should not be called more than once. And we have
multiple dlopen() calls from multiple threads, so might end up calling
things multiple times and at the same time.

So what are the assumptions on, threading and amount of calls to the
init functions?


Xenomai mailing list

Reply via email to