From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 13:59:16 2003 Return-Path: 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 C488816A4B3 for ; Tue, 23 Sep 2003 13:59:16 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 025B143F93 for ; Tue, 23 Sep 2003 13:59:01 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h8NKx0gG027700; Tue, 23 Sep 2003 16:59:00 -0400 (EDT) Date: Tue, 23 Sep 2003 16:59:00 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Marcin Dalecki In-Reply-To: <3F70ADA1.6020907@gmx.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Freebsd Current Subject: Re: Fixing -pthreads (Re: ports and -current) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 20:59:16 -0000 On Tue, 23 Sep 2003, Marcin Dalecki wrote: > Scott Long wrote: > > > I'm perfectly happy to support the libkse->libpthread switch, and I'm > > perfectly happy to support making libpthread be the default threading > > library. But, I strongly believe that we need to also treat -pthread > > sanely. > > You have to decide what the therading lib should be indeed. > However recent expirence shows that a 1:n model seems to be the > one the world over you is gearing around: Linux never did anything else. > Windows anyway. Solaris switched from n:m to 1:n on the step between > version 8 and 9.... Having two of them isn't the solution for me as a developer > since I'm simply not interresed in debugging both cases. This is a reason why -pthread shouldn't imply linking to any one library. If you only want to deal with libthr or libthread (KSE in 1:1 mode), then you are free to choose them and only them. -- Dan Eischen