From owner-cvs-src@FreeBSD.ORG Thu Apr 14 01:34:25 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7010316A4CE; Thu, 14 Apr 2005 01:34:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 538C043D2D; Thu, 14 Apr 2005 01:34:25 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3E1YMng046505; Thu, 14 Apr 2005 01:34:23 GMT (envelope-from davidxu@freebsd.org) Message-ID: <425DC8C2.6030805@freebsd.org> Date: Thu, 14 Apr 2005 09:34:58 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Wemm References: <200504140044.j3E0i7iw099705@repoman.freebsd.org> In-Reply-To: <200504140044.j3E0i7iw099705@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/arch/i386/i386 pthread_md.c src/lib/libthr/arch/i386/include pthread_md.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 01:34:25 -0000 Peter Wemm wrote: >peter 2005-04-14 00:44:07 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/arch/i386/i386 pthread_md.c > lib/libthr/arch/i386/include pthread_md.h > Log: > Adapt the libpthread patch for using i386_set_gsbase() to libthr. > > Revision Changes Path > 1.2 +33 -14 src/lib/libthr/arch/i386/i386/pthread_md.c > 1.2 +8 -2 src/lib/libthr/arch/i386/include/pthread_md.h > > > Good work! I don't care if libthr can run on old kernel because the new libthr can not run on RELENG-5 kernel. One thing I would like to do is creating thread in atomic, current, a thread is created with its TLS pointer is at uninitialized state, so when first userland function runs, it has to setup TLS in userland, this makes diffculty to to .mcount and rtld if they wants to access per-thread data. David Xu