aspose file tools*
The moose likes Beginning Java and the fly likes Threads vs Processes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Threads vs Processes" Watch "Threads vs Processes" New topic
Author

Threads vs Processes

Romi Dave
Greenhorn

Joined: Jul 19, 2006
Posts: 26
Hi all,

Can someone please explain me the difference between Threads and Processes?

Thanks
[ February 05, 2007: Message edited by: Romi Dave ]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13869
    
  10

Have a look at for example Wikipedia:

A thread in computer science is short for a thread of execution. Threads are a way for a program to split itself into two or more simultaneously (or pseudo-simultaneously) running tasks. Threads and processes differ from one operating system to another, but in general, the way that a thread is created and shares its resources is different from the way a process does.

Or do some Googling.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Threads vs Processes
 
Similar Threads
Difference Between Thread and Process
extra processes under Win2000
NX: RMI and Mutlithreading
Multiple Java processes when tomcat starts
Two thread slow on dual core?