[Cubicweb] lgc.cache in cubicweb
aurelien.campeas at logilab.fr
Fri Sep 9 16:23:04 CEST 2011
Le 09/09/2011 15:52, Sylvain Thénault a écrit :
> On 09 September 15:45, Aurélien Campéas wrote:
>>>> I'm a bit surprised a lock would be needed
>>>> there but not in the surrounding code.
>>> I don't get that.
>> If the objects using these caches (repository, native source) are
>> shared amongst threads, we may have bigger probblems. But are they ?
> they are, and are thread safe.
If they are thread safe (how is this done ?), why specifically protect
this cache subobject ?
More information about the Cubicweb