File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 9053
    
  12
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: 9053
    
  12
That is also true.
http://www.coderanch.com/t/231961/threads/java/Threads-vs-processes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference Between Thread and Process