Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Techguy Sr eng.   on May 03 In Java Category.

  
Question Answered By: Angel Harris   on May 03

You should not have to halt the main process. Most systems support
time-slicing so you don't even have to worry about yield(ing) your
processes. If your system does not perform time-slicing, add
Thread.currentThread().yield() in your main thread  and that will give
the other threads a chance to run.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Threading Syncronization Or get search suggestion and latest updates.