Java: Processes and Threads
The Java Tutorials > Essential Classes > Concurrency > Processes and Threads
Sanghera's book confused me so I had to review the differences between processes and threads!
A process has a self-contained execution environment. A process generally has a complete, private set of basic run-time resources; in particular, each process has its own memory space.
...
Threads are sometimes called lightweight processes. Both processes and threads provide an execution environment, but creating a new thread requires fewer resources than creating a new process.
