From owner-cvs-src@FreeBSD.ORG Thu Apr 3 01:48:11 2008 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E1C21065679; Thu, 3 Apr 2008 01:48:11 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 69FCD8FC24; Thu, 3 Apr 2008 01:48:11 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from apple.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m331m7Y9025777; Thu, 3 Apr 2008 01:48:09 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47F437AD.2070304@freebsd.org> Date: Thu, 03 Apr 2008 09:49:33 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Marcel Moolenaar References: <200804020741.m327fP1W065205@repoman.freebsd.org> <77FDA3DB-B81A-42D1-871E-AB04CD86C150@mac.com> In-Reply-To: <77FDA3DB-B81A-42D1-871E-AB04CD86C150@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/arch/amd64 Makefile.inc src/lib/libthr/arch/amd64/include pthread_md.h src/lib/libthr/arch/i386 Makefile.inc src/lib/libthr/arch/i386/include pthread_md.h src/lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Apr 2008 01:48:11 -0000 Marcel Moolenaar wrote: > > On Apr 2, 2008, at 12:41 AM, David Xu wrote: >> davidxu 2008-04-02 07:41:25 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libthr/arch/amd64 Makefile.inc >> lib/libthr/arch/amd64/include pthread_md.h >> lib/libthr/arch/i386 Makefile.inc >> lib/libthr/arch/i386/include pthread_md.h >> lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.c >> Added files: >> lib/libthr/arch/amd64/amd64 _umtx_op_err.S >> lib/libthr/arch/i386/i386 _umtx_op_err.S >> Log: >> Replace function _umtx_op with _umtx_op_err, the later function directly >> returns errno, because errno can be mucked by user's signal handler and >> most of pthread api heavily depends on errno to be correct, this change >> should improve stability of the thread library. > > Doesn't this also apply to !i386 & !amd64? > Marcel, you are welcomed to improve it since I only know x86. Regards,