KSE and 1:1 threading are different things. One creatres kernel threads on demand and the other keeps the kernel threads all the time the user thread exists.

rfork is not the same.. it creates a new process context. that is what Linux does.
it is also what we did before when running the the linuxthreads package.


KSE and 1:1 use a lot of the same kernel changes and entities.
Which one survives will be  judged in time.


there has been a 1:1 and an M:N library since 5.2


Yes. As Julian said, libthread is a 1:1 model, while libkse(now libpthread) is an
M:N model. KSE is very interesting, it originates from Anderson's Scheduler Activation.
But it solved some problems existed in the SA.
IMHO, libkse lacks supports for real-time applications (also due to the nonpreemptive
kernel feature).


BTW, anybody familar with Linux NPTL (1:1 thread model)?
Can libthread take some ideas from it?

Regards
Jas

_________________________________________________________________
与世界各地的朋友进行交流,免费下载 MSN Messenger: http://messenger.msn.com/cn


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to