Lines Matching defs:lock
392 attempting to obtain the lock as the related operation will
401 self.lock(allow_unprivileged=allow_unprivileged)
411 # get the lock.
424 def lock(self, allow_unprivileged=False):
432 attempting to obtain the lock as the related operation will
439 # First, attempt to obtain a thread lock.
444 # Attempt to obtain a file lock.
445 self.__lockfile.lock(blocking=blocking)
463 # If process lock fails, ensure thread lock is released.
868 "lock"), set_lockstr=lockfile.client_lock_set_str,
874 self.lock()
4168 newimg.lock(allow_unprivileged=True)