'lock_class
Class compatible to threading.Lock
desc
Description shown in debug log messages'

def __init__(self, lock_class=None, desc=''):

    self._desc = desc
    self._lock = (lock_class or LDAPLockBaseClass)()
