Hi Dmitry,
when I use fork() instead of vfork() I have the freeze again.
I.e. using vfork() it works fine, using fork() freezes the system.
Regards
Mathias
> >
> > > - does the bug still occurs after the call to the system() routine has
> > > been replaced by the following frag?
> > >
> > > if (vfork() == 0)
> > > execlp("/bin/ls", "ls", "-l", NULL);
> > > else
> > > wait(NULL);
> > >
> > I have replaced the system() call by your code fragement. And yes, this
> works!
> > No freeze!
>
> Ok, could you let me know what happens if you use fork() instead of
> vfork()?
>
> system() is the same thing : fork -> exec + but it also deals with signals.
>
--
Mathias Koehrer
[EMAIL PROTECTED]
Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help