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