[email protected] wrote:
>>> int main( int arc, char *argv[] ) { int i;
>>>
>>> rt_print_auto_init(1);
>>>
>>> rt_printf("--------------- TEST RT-PRINTF 1 ------------\n");
>>>
>>> sleep(1);
>>>
>>> daemon(0,0);
>>>
>>> rt_print_auto_init(1);
> Ok, understood, at least for the scenario where the rt_print feature
> is initialised befor the fork/daemon call. What I don't understand
> is, why it does not work if the rt_print feature is initialised after
> the fork / daemon.
>From the way I understand your code, you never tried to initialize the
rt_print feature only after the fork, your code initializes it both
before and after.
--
Gilles
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help