readwritelock with redis.
config is an object included configuration parameters. cleanflag is a flag whether it clean zombie lock keys in your redis database or not. next() is called with no arguments. it create lockconfig, and clean zombie lock keys.
lockobj is an argument of a next function of lock functions. next() is called with no arguments.
objectname is a string. next() is called with an argument 'lockobj' for unlock the lock.
objectarray is an array of strings. next() is called with an argument 'lockobj' for unlock the lock.
objectname is a string. next() is called with an argument 'lockobj' for unlock the lock.
objectname is a string. next() is called with an argument 'lockobj' for unlock the lock. pwrlock means 'prewrite read lock'. this is a sort of a read lock. but pwrlock is never caught any other pwrlocks or writerlocks, and you can upgrade it to writerlock without unlock it.
objectname_or_lockobj is a string or an object of pwrlock. next() is called with an argument 'lockobj' for unlock the lock.
objectname is a string. rangemin is a real number. rangemax is a real number. next() is called with an argument 'lockobj' for unlock the lock.
objectname is a string. rangemin is a real number. rangemax is a real number. next() is called with an argument 'lockobj' for unlock the lock.
objectname is a string. rangemin is a real number. rangemax is a real number. next() is called with an argument 'lockobj' for unlock the lock.
lockobj is an object of rangereaderlock. rangemin is a real number. rangemax is a real number. next() is called with an argument 'lockobj' for unlock the lock.
lockobj is an object of rangepwrlock. rangemin is a real number. rangemax is a real number. next() is called with an argument 'lockobj' for unlock the lock.
lockobj is an object of rangewriterlock. rangemin is a real number. rangemax is a real number. next() is called with an argument 'lockobj' for unlock the lock.