PyDocs

Nav

Concurrent Execution

settrace_all_threads

threading

function · Added in 3.12 (source) not WASI
  • settrace_all_threads(func)
Set a trace function for all threads started from the threading module
and all Python threads that are currently executing.

The func will be passed to sys.settrace() for each thread, before its run()
method is called.
0 Examples
No examples for threading/settrace_all_threads.
See Also
No see-alsos for threading/settrace_all_threads
0 Notes
No notes for settrace_all_threads