File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes Thread Vs Process Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Thread Vs Process" Watch "Thread Vs Process" New topic
Author

Thread Vs Process

vishnu mohan
Greenhorn

Joined: Feb 01, 2002
Posts: 14
Hi,
what is the diffrence between a Thread and a Process ?
Thanks and regards
Vishnumohan
John Dale
Ranch Hand

Joined: Feb 22, 2001
Posts: 399
One difference: Threads within a process share a single address space, and can, with care (synchronization), access one another's variables. Processes run in different address spaces, and must use inter-process communications mechanisms to exchange information.
 
 
subject: Thread Vs Process
 
Threads others viewed
Is it OK?
thread
process & thread
Why threads are light weight
What is the difference between process & thread??
IntelliJ Java IDE