Thanks gentlemen. Please notice:
while not _ok_event.is_set():
time.sleep(1) # pass overloads CPU core
The loop in the updateDaemon does not overload.
What actually I need is a sleep of milliseconds, not seconds.
Thanks gentlemen. Please notice:
while not _ok_event.is_set():
time.sleep(1) # pass overloads CPU core
The loop in the updateDaemon does not overload.
What actually I need is a sleep of milliseconds, not seconds.