Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to Start two threads at a time

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we start two threads at a time . If so what will happen .will it throw any error
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can start any number of threads. But you cannot start the same thread again. You could have tried a small program that would start 2 threads.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic