Home
last modified time | relevance | path

Searched refs:threading_hook (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/asyncio/
D__main__.py138 if r.threading_hook is not None:
139 r.threading_hook.add("") # type: ignore
/external/python/cpython3/Lib/_pyrepl/
Dreader.py250 threading_hook: Callback | None = None variable in Reader
727 threading_hook = self.threading_hook
728 if threading_hook is None and 'threading' in sys.modules:
731 if threading_hook is not None:
733 threading_hook()
D_threading_handler.py73 reader.threading_hook = handler
/external/python/cpython3/Lib/test/
Dtest_threading.py1901 def threading_hook(args): function
1910 with support.swap_attr(threading, 'excepthook', threading_hook), \
1929 def threading_hook(args): function
1933 with support.swap_attr(threading, 'excepthook', threading_hook):