From owner-cvs-src@FreeBSD.ORG  Wed Apr  2 16:40:05 2008
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 515031065673;
	Wed,  2 Apr 2008 16:40:05 +0000 (UTC) (envelope-from xcllnt@mac.com)
Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.76])
	by mx1.freebsd.org (Postfix) with ESMTP id 30B358FC29;
	Wed,  2 Apr 2008 16:40:05 +0000 (UTC) (envelope-from xcllnt@mac.com)
Received: from mac.com (asmtp002-s [10.150.69.65])
	by smtpoutm.mac.com (Xserve/smtpout013/MantshX 4.0) with ESMTP id
	m32Ge5Of014710; Wed, 2 Apr 2008 09:40:05 -0700 (PDT)
Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36])
	(authenticated bits=0)
	by mac.com (Xserve/asmtp002/MantshX 4.0) with ESMTP id m32Ge2AA017735
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
	Wed, 2 Apr 2008 09:40:02 -0700 (PDT)
Message-Id: <77FDA3DB-B81A-42D1-871E-AB04CD86C150@mac.com>
From: Marcel Moolenaar <xcllnt@mac.com>
To: David Xu <davidxu@freebsd.org>
In-Reply-To: <200804020741.m327fP1W065205@repoman.freebsd.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v919.2)
Date: Wed, 2 Apr 2008 09:39:56 -0700
References: <200804020741.m327fP1W065205@repoman.freebsd.org>
X-Mailer: Apple Mail (2.919.2)
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 <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Apr 2008 16:40:05 -0000


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 Moolenaar
xcllnt@mac.com