Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2018 13:38:07 -0700
From:      Matthew Macy <mmacy@freebsd.org>
To:        Adrian Chadd <adrian.chadd@gmail.com>, John Baldwin <jhb@freebsd.org>,  "br@freebsd.org" <br@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, marius@freebsd.org
Subject:   Re: atomic_testandclear_<type>, atomic_testandset_<type>
Message-ID:  <CAPrugNoNjcRqhhOCwVpcTLy2YrxnLhjobSKx8B0mDxNU7AM-=g@mail.gmail.com>
In-Reply-To: <CAPrugNpff58zQa-Dzpqp%2BrO8KeP0o=nEELLnVLiYRmmV%2BQqgZg@mail.gmail.com>
References:  <CAPrugNpff58zQa-Dzpqp%2BrO8KeP0o=nEELLnVLiYRmmV%2BQqgZg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It turns out ck already has equivalent primitives. Pardon the noise.

-M

On Sat, Jun 23, 2018 at 12:18 Matthew Macy <mmacy@freebsd.org> wrote:

> The functions in the subject are both documented in atomic(9) and are
> implemented by every arch except sparc64 and MIPS. I have some code in
> review that uses them that I intend to commit once the various design
> issues are addressed. Please implement them so that those targets can
> remain part of universe.
>
> Thanks in advance.
> -M
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPrugNoNjcRqhhOCwVpcTLy2YrxnLhjobSKx8B0mDxNU7AM-=g>