'>>> lock = MkdirLockFile(\'somefile\')
>>> lock = MkdirLockFile(\'somefile\', threaded=False)'

def __init__(self, path, threaded=True, timeout=None):

    LockBase.__init__(self, path, threaded, timeout)
    self.unique_name = os.path.join(self.lock_file, ('%s.%s%s' % (self.hostname, self.tname, self.pid)))
