Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kill a thread
#2
If the thread is waiting for a threading.Event or a threading.Condition, you can notify the Event or the Condition. Another way is to wait with a timeout to check regularly if the thread must exit. It would help if you explain what the thread actually does.
Reply


Messages In This Thread
kill a thread - by Skaperen - Apr-10-2022, 07:17 PM
RE: kill a thread - by Gribouillis - Apr-10-2022, 07:37 PM
RE: kill a thread - by Skaperen - Apr-10-2022, 08:43 PM
RE: kill a thread - by Skaperen - Apr-10-2022, 08:46 PM
RE: kill a thread - by Gribouillis - Apr-10-2022, 09:57 PM
RE: kill a thread - by Skaperen - Apr-11-2022, 03:25 AM
RE: kill a thread - by Gribouillis - Apr-11-2022, 09:02 AM
RE: kill a thread - by snippsat - Apr-11-2022, 02:02 PM
RE: kill a thread - by Skaperen - Apr-14-2022, 01:32 AM
what's going on - by Skaperen - Apr-14-2022, 02:14 AM

Forum Jump:

User Panel Messages

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