nanosleep e POSIX si-ti rezolva toate problemele...<br><br><div><span class="gmail_quote">On 11/16/07, <b class="gmail_sendername">Alexandru Mosoi</b> <<a href="mailto:brtzsnr@gmail.com">brtzsnr@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">nici asa nu e bine. usleepul merge maxim o secunda... trebuie sa faci o bucla :)<br><br>
On Nov 16, 2007 8:39 PM, Marius Nicolae <<a href="mailto:mariusn007@gmail.com">mariusn007@gmail.com</a>> wrote:<br>> Poate nu faci bine sleep-ul<br>><br>> o varianta ar fi: usleep(milisecunde * 1000)<br>>
<br>> On Nov 16, 2007 8:09 PM, Andrei Ciuca <<a href="mailto:andrei.ciuca@gmail.com">andrei.ciuca@gmail.com</a>> wrote:<br>><br>> > Am o problema cu testul 6 ... care cand il trece, cand nu-l trece => bug la
<br>> > implementarea arborelui binar de cautare. Ca sa o gasesc as vrea sa aflu si<br>> > eu ordinea in care vor fi adaugate in coada operatiile . Dar atunci cand<br>> > incerc sa le scriu intr-un log cand le primeste serverul (si deci mai bag un
<br>> > mic delay) ... testul trece intotdeauna :( => nu pot sa aflu secventa care<br>> > cauzeaza problema.<br>> ><br>> ><br>> > Sugestii ?<br>> ><br>><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">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
</a><br>> ><br>> ><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">
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br>><br><br><br><br>--<br>Alexandru Mošoi<br><a href="http://alexandru.mosoi.googlepages.com">http://alexandru.mosoi.googlepages.com</a><br><br>Please avoid sending me Word or PowerPoint attachments.
<br>See <a href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a><br><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">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br><br></blockquote></div><br>