"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes:
> o->busy is protected by the objhead mutex because otherwise we would have
> to grab all the objects mutexes in the hash lookup.
>
> The busy flag is very seldomly manipulated, and this is much more efficient.

Fine, but what is the locking protocol when o has no objhead?

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
_______________________________________________
varnish-dev mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to