Lines Matching refs:threading
5 import threading
15 # NOTE: we use thread._count() rather than threading.enumerate() (or the
16 # moral equivalent thereof) because a threading.Thread object is still alive
18 # unregistered from the threading module.
25 return _thread._count(), threading._dangling.copy()
32 values = _thread._count(), threading._dangling
158 Context manager catching threading.Thread exception using
159 threading.excepthook.
168 See threading.excepthook() documentation for these attributes.
201 self._old_hook = threading.excepthook
202 threading.excepthook = self._hook
206 threading.excepthook = self._old_hook
220 - wasm32-wasi does not have threading.
235 """Skip tests or modules that require working threading.
239 msg = "requires threading support"