<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:14pt"><div>Multumesc. Probabil ca o sa folosesc si eu indexul. Ma gandesc sa tin un semafor in el. Sa vad ce imi iese.</div><div><br></div><div>Numai bine.</div><div style="font-family:times new roman, new york, times, serif;font-size:14pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"></font>Date: Thu, 27 Aug 2009 13:14:13 +0300<br>From: Mihnea Muraru <<a ymailto="mailto:mmihnea@gmail.com" href="mailto:mmihnea@gmail.com">mmihnea@gmail.com</a>><br>Subject: Re: [so] [tema4]Nelamurire index TLS<br>To: Sisteme de Operare <<a ymailto="mailto:so@cursuri.cs.pub.ro" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a>><br>Message-ID:<br> <<a
ymailto="mailto:a9c8ee9c0908270314t41863a3clcbc82601a5235563@mail.gmail.com" href="mailto:a9c8ee9c0908270314t41863a3clcbc82601a5235563@mail.gmail.com">a9c8ee9c0908270314t41863a3clcbc82601a5235563@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-2"<br><br>Salut,<br><br>Nu este obligatoriu sa-l folositi dar este, probabil, cea mai simpla<br>varianta. Te rog sa te uiti in laboratorul de thread-uri. Se numeste Thread<br>Specific Data[1] pe Linux si Thread Local Storage[2] pe Windows.<br><br>Mihnea<br><br>[1]<br><span><a target="_blank" href="http://cs.pub.ro/~so/index.php?section=Laboratoare&file=08.%20Thread-uri#Thread_Specific_Data">http://cs.pub.ro/~so/index.php?section=Laboratoare&file=08.%20Thread-uri#Thread_Specific_Data</a></span><br>[2]<br><span><a target="_blank"
href="http://cs.pub.ro/~so/index.php?section=Laboratoare&file=08.%20Thread-uri#Thread_Local_Storage">http://cs.pub.ro/~so/index.php?section=Laboratoare&file=08.%20Thread-uri#Thread_Local_Storage</a></span><br><br>2009/8/27 alex nicolae <<a ymailto="mailto:dex_luv@yahoo.com" href="mailto:dex_luv@yahoo.com">dex_luv@yahoo.com</a>><br><br>> In enuntul temei apare :<br>><br>> Pentru a testa utilizarea corect? a monitorului, mentine?i un index ?n<br>> Thread Local Storage care indic? pentru fiecare thread dac? se afl? sau nu<br>> ?n interiorul monitorului. Nu e necesar s? aloca?i memorie, pute?i folosi<br>> doar valoarea pointerului din indexul TLS.<br>><br>> Cum trebuie folosit acest index ? Este obligatoriu sa il folosim, sau putem<br>> rezolva tema si fara el ?<br>><br>> Alexandru Nicolae<br>><br>><br>> _______________________________________________<br>> so mailing list<br>> <a
ymailto="mailto:so@cursuri.cs.pub.ro" 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" target="_blank">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br>><br>><br></div></div><div style="position:fixed"></div></div><br>
</body></html>