Changes between Version 1 and Version 2 of Ticket #34276


Ignore:
Timestamp:
Jan 20, 2023, 10:31:01 AM (22 months ago)
Author:
D Bersan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34276 – Description

    v1 v2  
    1414class MyThread:
    1515  def __init__(self) -> None:
    16     self.t = threading.Thread(target=MyThread.receiverLoop, args=(self,))
     16    self.t = threading.Thread(target=MyThread.myLoop, args=(self,))
    1717    self.t.daemon = True
    1818    self.count = 1
    1919 
    20   def receiverLoop(self):
    21     global udpTempVar
     20  def myLoop(self):
    2221    while self.running:
    2322      time.sleep(3)
Back to Top