Searched defs:lock (Results 1 - 4 of 4) sorted by relevance
| /pkg/src/modules/ |
| H A D | lockfile.py | 53 is called when the lock operation wants to write 54 implementation specific text into the lock file. 58 the lock string created by set_lockstr. The dictionary 60 the lock is non-blocking and fails. 62 failure_exc - If a non-blocking lock acquisition fails, 94 def lock(self, blocking=True): member in class:LockFile 97 return an exception, instead of blocking, if the lock 118 # Attempt an initial open of the lock file. 141 # Attempt to lock the file. 149 # If the lock faile [all...] |
| H A D | indexer.py | 138 self._index_dir, "lock"), 719 self.lock() 762 # index, the index lock must be 865 # A lock can't be held while the index directory is being 867 # NFS. As such, attempt to get the lock first, then 871 self.lock() 992 def lock(self, blocking=False): member in class:Indexer 998 to block until the lock can be obtained or to raise an 1002 # Attempt to obtain a file lock. 1003 self.__lockfile.lock(blockin [all...] |
| H A D | cfgfiles.py | 206 def __init__(self, path_prefix, lock=False): 236 "etc/.pwd.lock")) 237 if lock: 238 self.lock() 303 def lock(self): member in class:PasswordFile 304 self.lockfile.lock()
|
| /pkg/src/modules/client/ |
| H A D | image.py | 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): member in class:Image 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 i [all...] |
Completed in 45 milliseconds