From owner-freebsd-threads@FreeBSD.ORG Thu Jun 19 13:38:40 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EE6537B401; Thu, 19 Jun 2003 13:38:40 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5ED43F75; Thu, 19 Jun 2003 13:38:39 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5JKcdDZ071173; Thu, 19 Jun 2003 13:38:39 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5JKcd17001007; Thu, 19 Jun 2003 13:38:39 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h5JKcd4x001006; Thu, 19 Jun 2003 13:38:39 -0700 (PDT) (envelope-from marcel) Date: Thu, 19 Jun 2003 13:38:39 -0700 From: Marcel Moolenaar To: deischen@freebsd.org Message-ID: <20030619203839.GA968@dhcp01.pn.xcllnt.net> References: <20030619202013.GA833@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: threads@freebsd.org Subject: Re: Implementing TLS: step 1 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 20:38:40 -0000 On Thu, Jun 19, 2003 at 04:29:35PM -0400, Daniel Eischen wrote: > On Thu, 19 Jun 2003, Marcel Moolenaar wrote: > > Ok, > > > > Step 1: static TLS in libthr. > > Can you please make this libkse first? This is the harder > one, and what you may find works for libthr may not work > for libkse. Also, libkse is on the TODO for 5.2-release. libthr will be the only threading library on ia64 in 5.2-R if libkse is not ported before then. Given the current status libkse is simply not a viable threading implementation for me to implement TLS in. I expect to implement TLS in libthr in such a way that the MI changes are leveraged when implementing it in libkse. Also, implementing TLS in the threads library that's conceptually less complex, makes debugging the TLS specific changes much easier and thus reduces the problem space when implementing it in libkse. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net