Python Forum
How to immediately kill and restart a thread while using a time.sleep() inside it?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to immediately kill and restart a thread while using a time.sleep() inside it?
#4
(Feb-03-2022, 08:32 PM)Gribouillis Wrote: Normally, threads other than the main thread should not update the state of the GUI
Why is that? why should I not do that?
Reply


Messages In This Thread
RE: How to immediately kill and restart a thread while using a time.sleep() inside it? - by philipbergwerf - Feb-07-2022, 06:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QThread Signal is emitted immediately at start of Code Caliban86 3 2,164 Sep-26-2024, 02:02 PM
Last Post: deanhystad
  Is there a difference between Python’s time.sleep and win32api.Sleep? phpjunkie 4 1,252 Sep-21-2024, 05:17 PM
Last Post: aakritiintelligence
  Cannot run kill -9 through pyvomi on ESXi host nicktx 1 1,055 Jul-08-2024, 04:07 PM
Last Post: nicktx
  kill python execution program lebossejames 0 847 Mar-16-2024, 11:16 AM
Last Post: lebossejames
  Use subprocess.Popen and time.sleep chucky831 2 3,117 Aug-11-2022, 07:53 PM
Last Post: carecavoador
  Time.sleep: stop appending item to the list if time is early quest 0 2,441 Apr-13-2021, 11:44 AM
Last Post: quest
  Determine number of all the immediately adjacent points in python zackk 1 2,530 Feb-06-2021, 09:23 AM
Last Post: zackk
  Can you end the Time.sleep function boier96 9 17,747 Jan-16-2021, 10:09 PM
Last Post: Serafim
  How a Mac OS software can restart itself with admin permission in Python 3.7? Formationgrowthhacking 0 2,479 Sep-03-2020, 05:29 PM
Last Post: Formationgrowthhacking
  Using a button to kill and restart a script duckredbeard 3 4,873 Sep-01-2020, 12:53 AM
Last Post: duckredbeard

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020