[pso] [tema2] down sau down_trylock pentru apeluri neblocante

Octavian Voicu octavian.voicu at gmail.com
Thu Apr 16 00:58:38 EEST 2009


Opertia down pe semafor se considera neblocanta (avand in vedere ca nu vom
tine semaforul pe down cat timp asteptam la coada, numai cat timp copaim
in/din buffer)?Putem folosim down_trylock si sa returnam -EAGAIN daca nu se
poate obtine semaforul imediat?

-- 
Octavian Voicu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20090416/a72db360/attachment.htm>


More information about the pso mailing list