From: Robin Dong san...@taobao.com
Using only lock_id as parameter of lock interface and reduce function to only
two:
lock(uint64_t lock_id)
unlock(uint64_t lock_id)
The -lock will create and acquire the distributed lock and -unlock will
release it which is more convient for end
On Mon, Dec 09, 2013 at 05:18:30PM +0800, Robin Dong wrote:
From: Robin Dong san...@taobao.com
Using only lock_id as parameter of lock interface and reduce function to only
two:
lock(uint64_t lock_id)
unlock(uint64_t lock_id)
The -lock will create and acquire the