PyDocs

Nav

Concurrent Execution

setprofile_all_threads

threading

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

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