| 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): |
no outgoing calls
no test coverage detected