14 _debugClient = None |
14 _debugClient = None |
15 _originalProcess = None |
15 _originalProcess = None |
16 _originalBootstrap = None |
16 _originalBootstrap = None |
17 |
17 |
18 |
18 |
|
19 # TODO: add support for start method 'forkserver' |
|
20 # TODO: add support for start method 'spawn' |
19 def patchMultiprocessing(module, debugClient): |
21 def patchMultiprocessing(module, debugClient): |
20 """ |
22 """ |
21 Function to patch the multiprocessing module. |
23 Function to patch the multiprocessing module. |
22 |
24 |
23 @param module reference to the imported module to be patched |
25 @param module reference to the imported module to be patched |