[so] [Tema4][Linux]Problema Test Ring

andreea sandu sandu_adina2006 at yahoo.com
Sat May 23 01:07:30 EEST 2009


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. 
Hope it helps :)

Andreea

--- On Fri, 5/22/09, Bogdan Cap-Bun <capbunbogdan at yahoo.com> wrote:

From: Bogdan Cap-Bun <capbunbogdan at yahoo.com>
Subject: Re: [so] [Tema4][Linux]Problema Test Ring
To: "Sisteme de Operare" <so at cursuri.cs.pub.ro>
Date: Friday, May 22, 2009, 1:54 PM

Initial imi crapa in acelasi punct la al treilea test ring si pe masina virtuala.
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.
Si dupa ce am rezolvat aceasta problema am ajuns in situatia anterior mentionata. 

Multumesc.

From: Bogdan Cap-Bun <capbunbogdan at yahoo.com>
To: Sisteme de Operare <so at cursuri.cs.pub.ro>
Sent: Friday, May 22, 2009 11:46:55 PM
Subject: [so] [Tema4][Linux]Problema Test Ring


Pe vmchecker moare la al treilea test ring

=====TEST RING=====
test: Create......................................................passed
test: Toate thread-urile asteapta sa fie pornite..................passed
test: Toate thread-urile mutate in coada waiting..................passed
test: T98 (round 1) verifica thread-uri in asteptare (I)..........failed
make: *** [test] Error 255

Am rulat de destule ori si mereu crapa in acelasi punct:  T98 (round 1) ......

Pe masina virtuala imi trece mereu toate testele. Si aici am rulat de cel putin 5-6 ori.


Local
 insa, se agata la testul StressRW intr-un punct aleator.

Nu imi dau seama de ce sunt aceste comportari total diferite.

?



      




      
-----Inline Attachment Follows-----

_______________________________________________
so mailing list
so at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090522/f42c4ec0/attachment.htm>


More information about the so mailing list