Re: Threads question

H. Peter Anvin (hpa@transmeta.com)
Fri, 25 Apr 1997 15:13:04 -0700 (PDT)


> Simple: use a library wrapper like a standard user-mode threading
> package, and use a pool of kernel threads to schedule between.
>
> And this is completely broken, even though this is what all the
> various unix vendors do.

Didn't say it was desirable!

> Linux can schedule, create, and destroy clone threads nearly as fast
> as any user level scheme could, therefore there is really no gain in
> this scheme, only added complexity. I am not alone in this, Linus and
> others like McVoy agree heavily on this one as well.

This is really the way to go. IMNSHO Solaris et al does this because
of unacceptable kernel overhead.

-hpa