desi ma aflu pe mailing list-ul asta dintr-o pura intamplare,<br>imi permit sa-ti dau o mica idee:<br><br>vezi in _test/test6.sh exact unde se intampla faza naspa.<br>ai acolo o chestie de genul:<br>------------------------------------------<br>./client p | perl _test/tree.pl _test/test6_1.in<br>temp=$?<br>./client s 2000 p | perl _test/tree.pl _test/test6_2.in<br>if [ $? -eq 0 -a $temp -eq 0 ] <br>------------------------------------------<br><br>vezi exact ce genereaza "picarea" testului... pentru asta fa urmatoarea modificare: <br>------------------------------------------<br>./client p | perl _test/tree.pl _test/test6_1.in<br>#temp=$?<br>#./client s 2000 p | perl _test/tree.pl _test/test6_2.in<br>#if [ $? -eq 0 -a $temp -eq 0 ] <br>if [ $? -eq 0 ]<br>------------------------------------------<br>asta ca sa fii sigur ca e de la sleep-ul ala...<br><br>sper sa-ti fie de folos,<br>Florin.<br><br><b><i>Marius Nicolae <mariusn007@gmail.com></i></b> wrote:<blockquote
class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Nov 16, 2007 9:26 PM, Lucian Adrian Grijincu<br><lucian.grijincu@gmail.com> wrote:<br>> On Nov 16, 2007 9:23 PM, Marius Nicolae <mariusn007@gmail.com> wrote:<br>> > Sau asa:<br>> > sleep(ms/1000);<br>> > usleep(1000 * ms%1000);<br>> ><br>> ><br>> Please elaborate on that :)<br><br>usleep(ms%1000*1000) actually :)<br><br>><br>> > On Nov 16, 2007 9:15 PM, Take Ceara <dumitru.ceara@gmail.com> wrote:<br>> > > nanosleep e POSIX si-ti rezolva toate problemele...<br>> > ><br>> > ><br>> > ><br>><br>> --<br>> Lucian<br>><br>> _______________________________________________<br>> so mailing list<br>> so@cursuri.cs.pub.ro<br>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so<br>><br>_______________________________________________<br>so mailing
list<br>so@cursuri.cs.pub.ro<br>http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so<br></dumitru.ceara@gmail.com></mariusn007@gmail.com></lucian.grijincu@gmail.com></blockquote><br><p> 
<hr size=1>Be a better sports nut! Let your teams follow you
with Yahoo Mobile. <a href="http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
">Try it now.</a>