Bookmark Topic Watch Topic
  • New Topic

Required information on Threading

 
Manoj Pradhan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi all,
This is my first topic to post.could i know the following question based on Threading concept:

1. Is there any difference between process and thread in java?
2. Is it advantageous to use Runnable interface or Thread class?
3. What is green and native thread and is there any difference?

Please send me the details, if anyone have.

waiting for reply.

Thanks and Regards,
Manoj

Is there any difference between process and thread in java?Is it advantageous to use Runnable interface or Thread class?What is green and native thread and is there any difference?
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
why did you post this here instead of in say "Java intermediate"?

You're far more likely to get an answer there and I expect someone to move it there rather quickly

1) depends on the JVM and OS
2) generally yes
3) depends on the JVM and OS
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
There's a copy in Threads already. I'm closing this one.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic