Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 18:54:02 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mark Murray <mark@grondar.za>
Cc:        John Baldwin <jhb@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/include atomic.h src/sys/i386/include atomic.h 
Message-ID:  <Pine.BSF.4.21.0010061847100.2217-100000@besplex.bde.org>
In-Reply-To: <200010060559.e965xe715446@grimreaper.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Oct 2000, Mark Murray wrote:

> > jhb         2000/10/05 15:19:50 PDT
> > 
> >   Modified files:
> >     sys/alpha/include    atomic.h 
> >     sys/i386/include     atomic.h 
> >   Log:
> >   Add atomic_readandclear_int and atomic_readandclear_long.
> 
> I also need atomic_set_pointer(9). Would you be interested in writing that?

Just assume that accesses to pointers are atomic until we support a machine
where they aren't.  Supporting such machines would be hard.  There must be
thousands of places in the kernel where atomic accesses to pointers need to
be atomic, abd millions of places that might need such atomic accesses
(every pointer access).  When we support these, we will probably also
support atomic_set_char(), etc ;-)

Bruce



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




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