From owner-cvs-src@FreeBSD.ORG Tue Jun 1 10:31:47 2004 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 0185416A4D1 for ; Tue, 1 Jun 2004 10:31:47 -0700 (PDT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC20143D58 for ; Tue, 1 Jun 2004 10:31:46 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 7995 invoked from network); 1 Jun 2004 17:31:46 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 1 Jun 2004 17:31:45 -0000 Received: from 10.50.41.233 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i51HVfCw057609; Tue, 1 Jun 2004 13:31:41 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Daniel Eischen Date: Tue, 1 Jun 2004 13:32:25 -0400 User-Agent: KMail/1.6 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406011332.25152.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: src-committers@FreeBSD.org cc: Mike Makonnen cc: cvs-src@FreeBSD.org cc: Scott Long cc: cvs-all@FreeBSD.org cc: Marius Strobl Subject: Re: cvs commit: src/sys/sparc64/include atomic.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: Tue, 01 Jun 2004 17:31:47 -0000 On Friday 28 May 2004 03:02 pm, Daniel Eischen wrote: > On Fri, 28 May 2004, Scott Long wrote: > > John Baldwin wrote: > > > On Friday 28 May 2004 04:38 am, Daniel Eischen wrote: > > >>On Fri, 28 May 2004, Mike Makonnen wrote: > > >>>Thanks. I'll change those enums to integers soon (others have > > >>> suggested it as well). It's just that I find them so convenient when > > >>> debugging. > > >> > > >>And the use of atomic_cmpset_foo() isn't going to work on > > >>80386 since it doesn't have cmpxchgl. > > >>will try to use cli instead. > > > > > > I'd say just punt and suggest that 80386 machines use libc_r. > > > > I think that this is a reasonable suggestion. libc_r likely has a > > longer lifespan than 80386 at this point (hard to believe that the > > 80386 has been out for nearly 20 years!). > > Works for me. That makes it easier for libpthread as well since > we'd like to use it also. We avoided using it and used atomic > swaps instead. By all means, please feel free to use atomic_cmpset() in libpthread. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org