• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread.join()

 
Bala Krishna
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I spawned off a new thread from my program (actually, a servlet), would a clean up operation be needed? In the destroy() method, I have a thread.join() statement, to wait until the new thread completes its execution. Is this necessary? Or should I let the app.server take care of this? Thanks.
-Bala.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!