Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • stackoverflow.com/a/2773506/548036, this post may answer your questions Commented Dec 27, 2013 at 10:23
  • ..or just call the 'thread-2' code at the end of thread-1 function/method, so eliminating thread-2, or start thread 2 at the end of thread 1 function/method. Why do devs. have to make stuff complex when it can be so easy? Commented Dec 27, 2013 at 11:39