KSE, libpthread & libthr: almost newbie question

Ivan Voras ivoras at fer.hr
Fri Oct 27 13:07:45 UTC 2006


Ruslan Ermilov wrote:
> On Fri, Oct 27, 2006 at 10:56:21AM +0200, Ivan Voras wrote:
>> Lev Serebryakov wrote:
>>> Hello ,
>>>
>>>   I've was sure, that both libpthread and libthr use KSE to make 
>>>   multithreading. They use KSE in different ways: libpthread uses N:M 
>>>   model and libthr uses 1:1 model, but bot use KSE to work.
>>>   How will be possible to use these libraries (read: multithreaded 
>>>   programs) when KSE will be optional, on kernel without KSE?!
>> Yes, isn't KSE by definition "that thing that is scheduled in the kernel"?
>>
> KSE == N:M threading

Ok, I thought it was threading in general on FreeBSD, and libthr just 
mapped one KSE to one thread.



More information about the freebsd-current mailing list