Home
last modified time | relevance | path

Searched refs:_global_shutdown_lock (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Lib/concurrent/futures/
H A Dthread.py21 _global_shutdown_lock = threading.Lock() variable
25 with _global_shutdown_lock:
39 # At fork, reinitialize the `_global_shutdown_lock` lock in the child process
41 os.register_at_fork(before=_global_shutdown_lock.acquire,
42 after_in_child=_global_shutdown_lock._at_fork_reinit,
43 after_in_parent=_global_shutdown_lock.release)
162 with self._shutdown_lock, _global_shutdown_lock:

Completed in 1 milliseconds