Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2000 17:33:11 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        smp@FreeBSD.org, Jason Evans <jasone@canonware.com>
Subject:   Re: Userland atomic assignments
Message-ID:  <Pine.SUN.3.91.1001207173114.12784A-100000@pcnet1.pcnet.com>
In-Reply-To: <XFMail.001207142615.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Dec 2000, John Baldwin wrote:
> On 07-Dec-00 Daniel Eischen wrote:
> > Something along the lines of <machine/atomic.h> I'd guess.
> > I don't need compare and set, nor anything that complicated,
> > just a couple of atomic store operations.  I'm finding some
> > places in libc that could really use an atomic_store_ptr().
> 
> a = b; should be atomic I think.  If its not, then large portions of the kernel
> break, IIRC.

OK, thanks.  I just didn't want to make any assumptions about
archs I didn't know.

-- 
Dan Eischen



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1001207173114.12784A-100000>