>All that other discussion about Linux process table slots and
>implementation details is interesting, but not really relevant to the
>distinction between light and heavy.
There's one important difference - you can only have as many threads
in Linux as you can have processes. And there's a suprisingly low
upper limit on that, something like 256? I'm one of those wacky people
who likes the idea of writing programs with thousands of threads (most
stopped most of the time), so that's a bit of a drag.
I'm curious how Java thread priorities are layered on top of
LinuxThreads.. When a thread of high priority becomes runnable, is a
SIGSTOP sent to all lower priority threads to make them stop until the
high priority thread finishes?
I sure wish Java's threading model was different.
[EMAIL PROTECTED]
. . . . . . . . http://www.media.mit.edu/~nelson/