Le vendredi 7 octobre 2011 14:16:42, Andreas Gabriel a écrit :
> However, is your implementation thread safe? Maybe I am blind ;). That was
> the reason I used lovely.memcached as memcached connector. Each thread has
> its own connection and namespace to store keys. Therefore, the locks from
> one
Hi,
Am 07.10.2011 11:18, schrieb Vincent Pelletier:
> Le vendredi 7 octobre 2011 10:15:34, Andreas Gabriel a écrit :
>> self._update() in the while loop is called (calls indirectly the memcache
>> "query" method, a synonym for "get") before the "cas" method is called.
>
> In my understanding from
Le vendredi 7 octobre 2011 10:15:34, Andreas Gabriel a écrit :
> self._update() in the while loop is called (calls indirectly the memcache
> "query" method, a synonym for "get") before the "cas" method is called.
In my understanding from "pydoc memcache", there is "get", which loads, and
"gets" w
Hi,
Am 07.10.2011 01:57, schrieb Vincent Pelletier:
> Le jeudi 06 octobre 2011 21:18:39, Andreas Gabriel a écrit :
> I couldn't resist writing my own version inspired from your code:
> https://github.com/vpelletier/python-memcachelock
That's no problem :)
> It lacks any integration with ZODB.