On Sat, 11 Nov 2000, Jeff Gutierrez wrote:
..
>
> Hey Orly,
>
> Thank you for that short lecture on Linux threads -- I should do my own
> research as well.
>
> But I think there's more than one drawback in making threads implemented
> as processes. How about context switching in more-than-one-processor
> machines? Does Linux limit all Linux-threads in one processor?
well that is an issue. however the other types of thread implementations
(userland process) _are_ limited to one CPU. linux threads can migrate
between processors since they are ordinary processes. of course there are
issues when you have threads across processors -- cache thrashing and
problems with sharing the memory segments.
i dont think anyone has a good solution for threading unless one goes to a
microkernel -- since ukernels have explicit message passing between
threads, they are inherently mroe suited for MP boxes.
---------------------------------------------------------------------
Orlando Andico <[EMAIL PROTECTED]> POTS Phone: +63 (2) 937-2293
Mosaic Communications, Inc. GSM Mobile: +63 (917) 531-5893
I'm not suffering from insanity -- I'm enjoying every minute of it!!
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]