41 |
41 |
42 # make thread hooks available to system |
42 # make thread hooks available to system |
43 _original_start_thread = thread.start_new_thread |
43 _original_start_thread = thread.start_new_thread |
44 thread.start_new_thread = _debugclient_start_new_thread |
44 thread.start_new_thread = _debugclient_start_new_thread |
45 |
45 |
46 # NOTE: import threading here AFTER above hook, as threading cache's |
46 # Note: import threading here AFTER above hook, as threading cache's |
47 # thread._start_new_thread. |
47 # thread._start_new_thread. |
48 from threading import RLock |
48 from threading import RLock |
49 |
49 |
50 |
50 |
51 class DebugClientThreads(DebugClientBase.DebugClientBase, AsyncIO): |
51 class DebugClientThreads(DebugClientBase.DebugClientBase, AsyncIO): |
52 """ |
52 """ |