in reply to Main thread exist before all worker threads?

Is there something I have missed here?

Yes, a thread cannot be joined until it gets to the end of it's code-block. So you need to work out a way, either thru the process code, or thru shared variables, to tell the thread to go to an END: label. See Tk-with-worker-threads for an example.


I'm not really a human, but I play one on earth. flash japh
  • Comment on Re: Main thread exist before all worker threads?