DragonFly BSD
DragonFly kernel List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: lkwt in DragonFly


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Tue, 10 Feb 2004 10:39:08 +0100

-On [20040210 10:12], David Xu (davidxu@xxxxxxxxxxxxxx) wrote:
>Does DF want to implement pthread as 1:1 or something else ? I think
>this is a huge task due to POSIX signal behavior, last time I read some
>code in DF, and found a process still does not allow to have multiple
>threads,  or am I wrong.

I prefer to go with a hybrid method.  1:1 doesn't work.

I've got some papers I've been reading on threads lately which I'll put
in a follow-up tonight.

Basically it shows that pure userland threads have pros and cons, pure
kernel threads have pros and cons and a hybrid mapping is the best of
both worlds on a number of areas.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://diary.in-nomine.org/
Who looks under the surface does so at his own risk...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]