Lines Matching refs:_shutdown_locks
820 _shutdown_locks = set()
826 Calling this from time to time avoids an ever-growing _shutdown_locks
832 to_remove = [lock for lock in _shutdown_locks if not lock.locked()]
833 _shutdown_locks.difference_update(to_remove)
1019 _shutdown_locks.add(self._tstate_lock)
1068 # Remove our lock and other released locks from _shutdown_locks
1575 locks = list(_shutdown_locks)
1576 _shutdown_locks.clear()
1614 global _shutdown_locks_lock, _shutdown_locks
1632 _shutdown_locks = set()