Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2000 14:46:10 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, smp@FreeBSD.ORG
Subject:   Re: atomic increment?
Message-ID:  <3A3A9F32.3C6E1B0E@elischer.org>
References:  <3A39F8DA.FD4CA0A5@elischer.org> <XFMail.001215105012.jhb@FreeBSD.org> <20001215105605.S19572@fw.wintelcom.net>

index | next in thread | previous in thread | raw e-mail

Alfred Perlstein wrote:
> 
> * John Baldwin <jhb@FreeBSD.ORG> [001215 10:51] wrote:
> >
> > On 15-Dec-00 Julian Elischer wrote:
> > > CAn we have an atomic increment and decrement primative?
> > >
> > > presently we get:
> > >
> > > .L565:
> > >         movl $1,%eax
> > >#APP
> > >         lock
> > >         addl %eax,4(%ebx)
> > >
> > >
> > > the movl is totally useless and it would be
> > > an absolutly trivial addition..
> > > the question is;
> > > is there a religious reason we don't already have it?
> >
> > man atomic
> 
> I think he's looking for a useable and intuative interface.

that would be the one.. :-)
.

> 
> no offence I hope. :)
> 
> --
> -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> "I have the heart of a child; I keep it in a jar on my desk."

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Budapest
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3A9F32.3C6E1B0E>