From owner-cvs-src@FreeBSD.ORG Fri May 28 12:03:06 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 5D17F16A4CE; Fri, 28 May 2004 12:03:06 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E187C43D48; Fri, 28 May 2004 12:03:05 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i4SJ2lh9027670; Fri, 28 May 2004 15:02:47 -0400 (EDT) Date: Fri, 28 May 2004 15:02:47 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Scott Long In-Reply-To: <40B77A6E.7000808@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: src-committers@freebsd.org cc: John Baldwin cc: Mike Makonnen cc: cvs-src@freebsd.org 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: Fri, 28 May 2004 19:03:06 -0000 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. -- Dan Eischen