File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Light weight process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Light weight process" Watch "Light weight process" New topic

Light weight process

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

What makes a thread a light weight process.. what are it's characterstics which made it different from a process?

No Kaustubh No Fun, Know Kaustubh Know Fun..
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 867
Java Threads (and in general threads) are separate execution threads in the same address space.

What "lightweight process" is, besides being maybe a synonym to thread, I do not know.
Marco Ehrentreich
best scout

Joined: Mar 07, 2007
Posts: 1282

Just have a look at section 'How threads differ from processes' in this Wikpedia article about threads. It describes why threads are often called 'lightweight process'.

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

Thanks guys
It is sorta covered in the JavaRanch Style Guide.
subject: Light weight process