>This makes me wonder.
>AFAIK, according to their definition, threads are supposed to be
"lightweight"
>processes.
>How are linuxthreads actually implemented? ie, do we get the real
lightweight
>process that we are supposed to get by the pthreads definitions?
>The descriptions seen in the discussion so far imply that this is not the
case,
>while it should be (and we should not have to worry that much about
overhead ;-}


I think it depends on the Linux distribution and the Java distribution.  The
last I read about Blackdown for Linux on Intel was that threads were rather
heavyweight, since there were comments about having to ensure you have
enough process descriptors and such...  It would be nice to get
clarifcation, since I've not attempted native threads because they seemed
like they'd be too heavy.

So, I have assumed (incorrectly, most likely!) that getting a dual processor
system would not really allow a single JVM to make use of concurrent
programming with green threads, but it would with native threads, albeit
they're heavier than most think of for threads.  Is this true?

David

Reply via email to