MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / ClassWithPydevStartNewThread

Class ClassWithPydevStartNewThread

_pydev_bundle/pydev_monkey.py:1202–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1200 _original_start_new_thread = thread_module._original_start_new_thread
1201
1202 class ClassWithPydevStartNewThread:
1203 def pydev_start_new_thread(self, function, args=(), kwargs={}):
1204 """
1205 We need to replace the original thread_module.start_new_thread with this function so that threads started
1206 through it and not through the threading module are properly traced.
1207 """
1208 return _original_start_new_thread(_UseNewThreadStartup(function, args, kwargs), ())
1209
1210 class ClassWithPydevStartJoinableThread:
1211 def pydev_start_joinable_thread(self, function, *args, **kwargs):

Callers 1

patch_thread_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected