aspose file tools
The moose likes Beginning Java and the fly likes Threads vs Processes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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
Bartender

Joined: Aug 16, 2005
Posts: 12929
    
    3

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Threads vs Processes
 
Similar Threads
Two thread slow on dual core?
extra processes under Win2000
Multiple Java processes when tomcat starts
NX: RMI and Mutlithreading
Difference Between Thread and Process