This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Difference Between Thread and Process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Difference Between Thread and Process" Watch "Difference Between Thread and Process" New topic
Author

Difference Between Thread and Process

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
What are the differences between treads and processes?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Threads are sort of like light-weight processes. You may have many threads in one process.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
I may be mistaken, but I believe that the main difference is that threads can share the same memory and processes can't.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
That is also true.
http://www.coderanch.com/t/231961/threads/java/Threads-vs-processes
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Difference Between Thread and Process
 
Similar Threads
82 years old Chen Ning Yang is to marry 28 years old Fan Wen
Game on SQL
Zachman Certification
fountain/waterfall that draws pictures
your favorite English female name