From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 3 17:48:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 903E716A41F for ; Thu, 3 Nov 2005 17:48:57 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5109243D49 for ; Thu, 3 Nov 2005 17:48:57 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.117]) ([10.251.23.117]) by a50.ironport.com with ESMTP; 03 Nov 2005 09:48:57 -0800 X-IronPort-Anti-Spam-Filtered: true Message-ID: <436A4D88.5070105@elischer.org> Date: Thu, 03 Nov 2005 09:48:56 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <20669850.1131022662391.JavaMail.root@vms061.mailsrvcs.net> <20051103.092325.119936663.imp@bsdimp.com> In-Reply-To: <20051103.092325.119936663.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, babkin@users.sourceforge.net, babkin@verizon.net, scottl@samsco.org Subject: Re: locking in a device driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 17:48:57 -0000 M. Warner Losh wrote: >In message: <20669850.1131022662391.JavaMail.root@vms061.mailsrvcs.net> > Sergey Babkin writes: >: Maybe it can be fixed in the kernel without >: too much trouble. > >It already is in libthr and libposix. They already use execution >contexts to map M threads onto N contexts. libc_r is being retired >and not worth the effort to modernize. > >Since there's really no good threading paradigm in 4.x and since it is >also being retired, I don't think it is worth the effort there. > > I suggest linking with the linuxthreads port. >Warner >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >