GeeCON Prague 2014*
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


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: 14195
    
  20

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 8 API documentation
 
GeeCON Prague 2014
 
subject: Threads vs Processes