From owner-freebsd-current@FreeBSD.ORG Fri Oct 27 13:43:25 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 753E716A47B for ; Fri, 27 Oct 2006 13:43:25 +0000 (UTC) (envelope-from nuno.antunes@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id F39BD43D5A for ; Fri, 27 Oct 2006 13:43:23 +0000 (GMT) (envelope-from nuno.antunes@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so1290927nfc for ; Fri, 27 Oct 2006 06:43:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A0T/QLPIVz5RpstIso3wZpXROitHe5ssXgDVjEDvJqbjpy5pZiiMEMBHHPiMRoNnF+H/3kIYeMerUJPtu5Udvb5vnC1h+JmJkwJ0tKyi6T/6ZUBgflD/YR3NMjjGhDI/Fcr4+KqkLjFSl64iAnFblnVbhF5pqoyC+k8s69MMk1w= Received: by 10.48.202.19 with SMTP id z19mr897263nff; Fri, 27 Oct 2006 06:43:22 -0700 (PDT) Received: by 10.49.81.16 with HTTP; Fri, 27 Oct 2006 06:43:21 -0700 (PDT) Message-ID: <262949390610270643i3ce7e9f6k35862587ac546d52@mail.gmail.com> Date: Fri, 27 Oct 2006 14:43:21 +0100 From: "Nuno Antunes" To: "Ruslan Ermilov" In-Reply-To: <20061027094922.GC6613@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <917908193.20061027102647@serebryakov.spb.ru> <20061027094922.GC6613@rambler-co.ru> Cc: freebsd-current@freebsd.org, Ivan Voras 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:43:25 -0000 On 10/27/06, Ruslan Ermilov wrote: > KSE == N:M threading > > A 1:1 threading (libthr) is much simpler than N:M threading (libpthread), > and thus doesn't require KSE support in the kernel; see kse(2) manpage > for details. Without the KSE option in the kernel, all kse(2) syscalls > will return EOPNOTSUPP, and a lot of code becomes redundant. > IIRC, I can even remember libpthread being originaly named libkse. Regards, Nuno