parameters: (self, path, threaded=True, timeout=None)
docstring: >>> lock = MkdirLockFile('somefile')
          >>> lock = MkdirLockFile('somefile', threaded=False)
docstring_summary: >>> lock = MkdirLockFile('somefile')
          >>> lock = MkdirLockFile('somefile', threaded=False)
docstring_tokens: >>> lock = MkdirLockFile ( somefile ) >>> lock = MkdirLockFile ( somefile threaded = False )
function: def __init__(self, path, threaded=True, timeout=None):
          """
          >>> lock = MkdirLockFile('somefile')
          >>> lock = MkdirLockFile('somefile', threaded=False)
          """
          LockBase.__init__(self, path, threaded, timeout)
          # Lock file itself is a directory.  Place the unique file name into
          # it.
          self.unique_name  = os.path.join(self.lock_file,
                                           "%s.%s%s" % (self.hostname,
                                                        self.tname,
                                                        self.pid))
function_tokens: def __init__ ( self , path , threaded = True , timeout = None ) : LockBase . __init__ ( self , path , threaded , timeout ) # Lock file itself is a directory.  Place the unique file name into # it. self . unique_name = os . path . join ( self . lock_file , "%s.%s%s" % ( self . hostname , self . tname , self . pid ) )