Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
more thread question
#4
There's no thread.stop(), because once a thread starts, it's sort of up to that thread to decide when it's done running, and other things shouldn't be able to tell it when to stop.  Thread.join() sort of does mean two threads are joining into one... when you call it, there are two threads, and it waits until the thread is done running before returning, so there's only one left after calling .join().
Reply


Messages In This Thread
more thread question - by tony1812 - Aug-03-2017, 01:28 AM
RE: more thread question - by nilamo - Aug-03-2017, 08:43 PM
RE: more thread question - by tony1812 - Aug-04-2017, 01:06 AM
RE: more thread question - by nilamo - Aug-04-2017, 03:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error SQLite objects created in a thread can only be used in that same thread. binhduonggttn 3 15,979 Jan-31-2020, 11:08 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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