> The most praised benefit of native threads: A multithreaded application
> can be concurrently processed on a SMP machine by its processors.

Hmm. Everyone says that's the best thing about native threads. But what about
"true" multitasking? In my experience, green threads don't do that very well.
For example, if I have two threads of equal priority, one of which are
performing some calculations (i.e. is not using I/O stuff and such, which seems
to implicitly yield() the thread), the other will hang unless I do explicit
yields().

Surely that's not the case with native threads, is it? I mean, non-Java
processes/threads don't have that problem (you don't see g++ hanging the entire
system until it's finished compiling, do you?).

/ Peter Schuller

man(1) - a man's best friend!

----------------
E-Mail: [EMAIL PROTECTED]
Web: http://hem.passagen.se/petersch

Reply via email to