DebugClients/Python3/DebugClientThreads.py

changeset 1820
3504f8175816
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
equal deleted inserted replaced
1819:cfcfd617216a 1820:3504f8175816
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 """

eric ide

mercurial