<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Am avut o problema asemanatoare. Ai grija cand muti un thread intr-o anumita coada ca mutarea sa fie consistenta (adica vizibila si urmatorului thread care va prelua controlul monitorului). Greseala mea era ca la wait treceam threadul in coada corespunzatoare conditiei respective dupa ce cedam controlul monitorului. <br>Hope it helps :)<br><br>Andreea<br><br>--- On <b>Fri, 5/22/09, Bogdan Cap-Bun <i><capbunbogdan@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bogdan Cap-Bun <capbunbogdan@yahoo.com><br>Subject: Re: [so] [Tema4][Linux]Problema Test Ring<br>To: "Sisteme de Operare" <so@cursuri.cs.pub.ro><br>Date: Friday, May 22, 2009, 1:54 PM<br><br><div id="yiv2113883884"><style type="text/css"><!--#yiv2113883884 DIV {margin:0px;}--></style><div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Initial imi crapa in acelasi punct la al treilea test ring si pe masina virtuala.<br>Se parea ca am aceeasi problema ca Alex Eftimie. Intr-adevar asa era. Nu era acces exclusiv la modificarile facute in structura de date, intr-un anumit punct.<br>Si dupa ce am rezolvat aceasta problema am ajuns in situatia anterior mentionata. <br><br>Multumesc.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Bogdan Cap-Bun <capbunbogdan@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> Sisteme de Operare <so@cursuri.cs.pub.ro><br><b><span style="font-weight: bold;">Sent:</span></b> Friday, May 22, 2009 11:46:55 PM<br><b><span style="font-weight:
bold;">Subject:</span></b> [so] [Tema4][Linux]Problema Test Ring<br></font><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Pe vmchecker moare la al treilea test ring<br><br><pre><font size="3">=====TEST RING=====<br>test: Create......................................................passed<br>test: Toate thread-urile asteapta sa fie pornite..................passed<br>test: Toate thread-urile mutate in coada waiting..................passed<br>test: T98 (round 1) verifica thread-uri in asteptare (I)..........failed<br>make: *** [test] Error 255<br></font><span style="font-family: times new roman,new york,times,serif;"><br></span><font size="3">Am rulat de destule ori si mereu crapa in acelasi punct: </font><font size="3"><span style="font-family: monospace;"></span>T98 (round 1) ......</font><br></pre><br>Pe masina virtuala imi trece mereu toate testele. Si aici am rulat de cel putin 5-6 ori.<br><br><br>Local
insa, se agata la testul StressRW intr-un punct aleator.<br><br>Nu imi dau seama de ce sunt aceste comportari total diferite.<br><br>?<br></div></div><br>
</div></div></div><br>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>so mailing list<br><a ymailto="mailto:so@cursuri.cs.pub.ro" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>