: The right answer is to make pthreads and/or lwp try to use clone.
Yes, that is the right answer. I've heard lately that Sun's kernel threads
(LWPs) actually context switch slower than two unrelated processes (unconfirmed
but it wouldn't surprise that much; I'd certainly expect kthreads to be the
same as processes).
Use clone(), it's cool. It's plan9ish. It's less filling. It tastes great.
It doesn't add a bunch of kernel bloat we don't need. You feel more studly
when you are done. You'll have done the world a good turn. Really.
Later,
----- Larry McVoy lm@sgi.com http://reality.sgi.com/lm (415) 933-1804 Copyright 1996, all rights reserved. Microsoft Network is prohibited from redistributing this work in any form, in whole or in part without license. License to distribute this work is available to Microsoft at $500. Transmission without permission constitutes an agreement to these terms.