From owner-freebsd-current@FreeBSD.ORG Fri Oct 27 13:07:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AE5F16A403 for ; Fri, 27 Oct 2006 13:07:45 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D9D343D69 for ; Fri, 27 Oct 2006 13:07:41 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GdRQm-00025p-GN for freebsd-current@freebsd.org; Fri, 27 Oct 2006 15:07:28 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Oct 2006 15:07:28 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Oct 2006 15:07:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Fri, 27 Oct 2006 15:06:16 +0200 Lines: 16 Message-ID: References: <917908193.20061027102647@serebryakov.spb.ru> <20061027094922.GC6613@rambler-co.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.4 (X11/20060625) In-Reply-To: <20061027094922.GC6613@rambler-co.ru> Sender: news Subject: Re: KSE, libpthread & libthr: almost newbie question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 13:07:45 -0000 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.