• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

doubt on run method

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
kindly expalin the following doubt on run method

can you explain how run method is called and who calls the run method.
Also can you explain that if a main method has one more thread then how the scheduling is done.How the priority is set for main and the other thread created. If the scheduling is based on platform then does that mean all the windows xp machine and all unix machine will have similar outputs.
I am not getting that does java also have some scheduling mechanism and how run method is called and scheduling is implemented in java.
How does the program know that scheduling has to be implemented now as the run method has been called.
May be the queston I have framed seems to be vague but please revert back incase you do not understand the question also.
 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

You have asked to many things in your post.

I think you should first study them and then come up with doubts or your learning.
 
Marshal
Posts: 80763
488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go through the Java Tutorials about concurrency.
 
Ranch Hand
Posts: 137
Hibernate Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please be brief...
 
reply
    Bookmark Topic Watch Topic
  • New Topic