Searched refs:lock (Results 1 – 7 of 7) sorted by relevance
109 lock = th.Lock()116 with lock:125 with lock:141 lock.acquire() # avoids https://bugs.python.org/issue42717
819 lock = th.Lock()826 with lock:838 with lock:863 lock.acquire() # avoids https://bugs.python.org/issue42717
216 lock = mp.Lock()223 with lock:
713 self.lock = th.Lock()729 with self.lock:
730 self.lock = th.Lock()746 with self.lock:
187 int (*lock)(const struct lfs_config *c); member
5749 #define LFS_LOCK(cfg) cfg->lock(cfg)