Python Forum
Is Event.set() the preferred way to stop a thread?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is Event.set() the preferred way to stop a thread?
#2
use threadname.stop()
Reply


Messages In This Thread
RE: Is Event.set() the preferred way to stop a thread? - by Larz60+ - Jul-17-2018, 01:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Anyway to stop a thread and continue it? dimidgen 2 375 Mar-18-2024, 10:53 AM
Last Post: DeaD_EyE
  Error SQLite objects created in a thread can only be used in that same thread. binhduonggttn 3 15,692 Jan-31-2020, 11:08 AM
Last Post: DeaD_EyE
  Preferred way to slice a list SvetlanaofVodianova 3 2,584 Dec-09-2019, 11:50 PM
Last Post: SvetlanaofVodianova
Exclamation Error: There is no current event loop in thread 'MainThread' AlekseyPython 5 16,074 Feb-21-2019, 04:37 AM
Last Post: AlekseyPython
  a preferred choice os the two lines? Skaperen 9 6,448 May-27-2017, 02:31 AM
Last Post: Skaperen
  preferred?: multiple assignment Skaperen 6 6,198 Dec-19-2016, 06:18 PM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

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