Changes between Version 1 and Version 2 of Ticket #34276
- Timestamp:
- Jan 20, 2023, 10:31:01 AM (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34276 – Description
v1 v2 14 14 class MyThread: 15 15 def __init__(self) -> None: 16 self.t = threading.Thread(target=MyThread. receiverLoop, args=(self,))16 self.t = threading.Thread(target=MyThread.myLoop, args=(self,)) 17 17 self.t.daemon = True 18 18 self.count = 1 19 19 20 def receiverLoop(self): 21 global udpTempVar 20 def myLoop(self): 22 21 while self.running: 23 22 time.sleep(3)