dummy_threading.setprofile()

dummy_threading.setprofile(func)[source]

Set a profile function for all threads started from the threading module.

The func will be passed to sys.setprofile() for each thread, before its run() method is called.