• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

threads

 
srilatha rao
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a parent thread invokes join method on a child thread, then parent thread will go into the blocked-for-join-completion state.
If that child thread sleeps for some time in that execution, Will the parent thread start running before the completion of child thread.

please explain...

Thanks in advance
 
Javier Sanchez Cerrillo
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO. Since the parent Thread is sleeping it cannot wake up just until child Thread has finished his work or it has been interrupted.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic