Cred ca am gasit problema, se pare ca se apela mereu un waitpid dintr-un if. Chiar folositor<br>strace :).<br><br><div class="gmail_quote">2009/3/16 Andrei Ismail <span dir="ltr"><<a href="mailto:iandrei@gmail.com">iandrei@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Incearca te rog sa urmaresti cu strace (man strace, daca nu stii cum se foloseste) executia. Acolo iti va arata clar dupa ce pid astepti, si ce pid a intors fork()-ul.<br>
<font color="#888888"><br>-- <br>Andrei Ismail<br>Automatic Control and Computers Faculty<br>
Polytechnic University of Bucharest<br>
</font><br>_______________________________________________<br>
so mailing list<br>
<a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br>
<a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br>
<br></blockquote></div><br>