etherlab/runtime_etherlab.py
changeset 2366 d635680e4c2c
parent 2365 bc07b9910cdb
child 2370 e40f3914e55f
equal deleted inserted replaced
2365:bc07b9910cdb 2366:d635680e4c2c
   103 
   103 
   104 
   104 
   105 def _runtime_etherlab_init():
   105 def _runtime_etherlab_init():
   106     global KMSGPollThread, StopKMSGThread
   106     global KMSGPollThread, StopKMSGThread
   107     StopKMSGThread = False
   107     StopKMSGThread = False
   108     KMSGPollThread = Thread(target = KMSGPollThreadProc)
   108     KMSGPollThread = Thread(target=KMSGPollThreadProc)
   109     KMSGPollThread.start()
   109     KMSGPollThread.start()
   110 
   110 
   111 
   111 
   112 def _runtime_etherlab_cleanup():
   112 def _runtime_etherlab_cleanup():
   113     global KMSGPollThread, StopKMSGThread, SDOProc, SDOThread
   113     global KMSGPollThread, StopKMSGThread, SDOProc, SDOThread