<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Coada waiters nu exista tot timpul?<br>Atunci doar coada signallers depinde de politica monitorului si ar fi in total 4, respectiv 5 cozi.<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> andreea sandu <sandu_adina2006@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> Wednesday, June 24, 2009 6:26:19 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [so] intrebare quiz fire de executie<br></font><br><div style="font-family: times new
roman,new york,times,serif; font-size: 12pt;"><div><div>Pai eu am inteles asa:<br>
* SIGNAL_AND_CONTINUE : coada waiters in care asteapta threadurile trezite de signal<br>
* SIGNAL_AND_WAIT : coada signalers in care asteapta threadurile care au executat signal.<br>
In ambele cazuri avem n+2 cozi, unde n este numarul de variabile de conditie (pt ca
se adauga o coada entry si o coada waiters/signalers), deci pentru 2
variabile de conditie ar trebui sa fie 4 cozi.<br>
</div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Octavian Rinciog <octavian.rinciog@gmail.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> Wednesday, June 24, 2009 6:18:59 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [so] intrebare quiz fire de executie<br></font><br>
Intrucat e SIGNAL_AND_CONTINUE coada de signalers ( sau waiters) este vida.<br><br>Daca era SIGNAL_AND_WAIT atunci era si o astfel de coada.<br><br>Pe 24 iunie 2009, 18:16, andreea sandu<<a rel="nofollow" ymailto="mailto:sandu_adina2006@yahoo.com" target="_blank" href="mailto:sandu_adina2006@yahoo.com">sandu_adina2006@yahoo.com</a>> a scris:<br>> Salut,<br>><br>> Exista o intrebare in quiz-ul pentru fire de executie in legatura cu<br>> numarul de cozi de asteptare ale unui monitor:<br>> "Un monitor ce funcționează după modelul SIGNAL_AND_CONTINUE deține două<br>> variabile condiție. Câte cozi de așteptare deține?" si raspunsul este 3. Nu<br>> ar fi trebuit sa fie 4? Adica entry queue + 2 x condition queue + waiters<br>> queue?<br>><br>> Andreea, 335CC<br>><br>><br>> _______________________________________________<br>> so mailing list<br>> <a rel="nofollow"
ymailto="mailto:so@cursuri.cs.pub.ro" target="_blank" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br><span>> <a rel="nofollow" target="_blank" href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a></span><br>><br>><br>_______________________________________________<br>so mailing list<br><a rel="nofollow" ymailto="mailto:so@cursuri.cs.pub.ro" target="_blank" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br><a rel="nofollow" target="_blank" href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br></div></div></div><br>
</div></div></div><br>
</body></html>