Landau, Bracha wrote:
> I'm using xenomai 2.2 rc3 on a MPC8247, on linux 2.6.14.
>
> I have a problem using mq_open. Please see the attached code.
> If I fork before the mq_open the kernel, I get a kernel oops.
>
> Why this behaviour?
The child process has not "bound" the interface, so, it has no
per-process data. If this is the cause of the oops, the solution is to
add a pthread_atfork call in xeno_user_skin_init in order for the
process children to also call xeno_user_skin_init.
--
Gilles Chanteperdrix.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help