On Mon, 18 Oct 1999 11:40:09 -0400, Pierre Heroux wrote:

>Hi,
>
>I've downloaded JDK_1.2_pre-release-v2.
>Each time I run "java blah_blah.class" or invoke the JVM in a C++
>source, it looks as if the program is run several time. It appears 8
>times in the process list ("ps").
>
>Is there something wrong ?

Two answers:

No - this is how Linux implements native threads

Yes - this is how Linux implements native threads

:-)

Linux native threads are just processes that share resources (memory/files/etc)
with each other.  Each thread will be its own "process" in "ps" or "top"

This also means that the total number of threads in all running programs
can never be more than the process table limit in your machine (which is
defined at kernel compile time)

-- 
Michael Sinz ---- Technology and Engineering Director/Consultant
"Starting Startups"                 mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to