Searched refs:threading_hook (Results 1 – 4 of 4) sorted by relevance
138 if r.threading_hook is not None:139 r.threading_hook.add("") # type: ignore
250 threading_hook: Callback | None = None variable in Reader727 threading_hook = self.threading_hook728 if threading_hook is None and 'threading' in sys.modules:731 if threading_hook is not None:733 threading_hook()
73 reader.threading_hook = handler
1901 def threading_hook(args): function1910 with support.swap_attr(threading, 'excepthook', threading_hook), \1929 def threading_hook(args): function1933 with support.swap_attr(threading, 'excepthook', threading_hook):