Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 15:06:16 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-current@freebsd.org
Subject:   Re: KSE, libpthread & libthr: almost newbie question
Message-ID:  <eht089$1nn$1@sea.gmane.org>
In-Reply-To: <20061027094922.GC6613@rambler-co.ru>
References:  <917908193.20061027102647@serebryakov.spb.ru>	<ehshjl$dsp$1@sea.gmane.org> <20061027094922.GC6613@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eht089$1nn$1>