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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Threads?" Watch "Threads?" New topic


Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
As I understand the Thread is a part of a process. Correct?
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Technically, you are correct, threads run inside of the JVM which is a process. In reality most people look at individual threads as individual proceses in their own right - even though they aren't. They have been called light-weight processes too.
Check out Sun's tutorial chapter pn threads for some good info.
That should give you a good start, then if you have some specific question let us know.

I agree. Here's the link:
subject: Threads?
It's not a secret anymore!