[so] Asteptare
Andrei Hagiescu
so@atlantis.cs.pub.ro
Thu, 13 Nov 2003 22:13:42 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_003D_01C3AA33.65B09070
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
O asteptare de genul urmator:
repeta la infinit:
take mutex
verificare resursa partajata (eventual break)
release mutex
facuta de mai multe procese simultan, se considera a fi ok sau tinde =
spre o asteptare blocanta?
daca e ok, au toate procesele "sanse" egale de a face verificarea =
resursei?
------=_NextPart_000_003D_01C3AA33.65B09070
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>O asteptare de genul =
urmator:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>repeta la infinit:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> take =
mutex</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> verificare resursa=20
partajata (eventual break)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> release =
mutex</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>facuta de mai multe procese simultan, =
se considera=20
a fi ok sau tinde spre o asteptare blocanta?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>daca e ok, au toate procesele "sanse" =
egale de a=20
face verificarea resursei?</FONT></DIV></BODY></HTML>
------=_NextPart_000_003D_01C3AA33.65B09070--