From owner-cvs-all@FreeBSD.ORG Wed Nov 21 05:37:16 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C024316A473; Wed, 21 Nov 2007 05:37:16 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA0F13C4B8; Wed, 21 Nov 2007 05:37:16 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 47F9C73247; Wed, 21 Nov 2007 05:39:50 +0000 (GMT) Date: Wed, 21 Nov 2007 05:39:50 +0000 From: John Birrell To: David Xu Message-ID: <20071121053950.GA16530@what-creek.com> References: <200711210521.lAL5LwBl094346@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200711210521.lAL5LwBl094346@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_private.h thr_rtld.c thr_sem.c thr_sig.c thr_suspend_np.c thr_umtx.c thr_umtx.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 05:37:16 -0000 On Wed, Nov 21, 2007 at 05:21:58AM +0000, David Xu wrote: > davidxu 2007-11-21 05:21:58 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_private.h thr_rtld.c thr_sem.c > thr_sig.c thr_suspend_np.c thr_umtx.c > thr_umtx.h > Log: > Remove umtx_t definition, use type long directly, add wrapper function > _thr_umtx_wait_uint() for umtx operation UMTX_OP_WAIT_UINT, use the > function in semaphore operations, this fixed compiler warnings. Thanks. I assume you have tested this with "CFLAGS=-O2 -pipe" in /etc/make.conf to remove the -fno-strict-aliasing option that is in the default CFLAGS? -- John Birrell