This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation
- From: Andi Kleen <andi at firstfloor dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, gcc-patches at gcc dot gnu dot org, Andi Kleen <ak at linux dot intel dot com>
- Date: Thu, 20 Jun 2013 20:14:49 +0200
- Subject: Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation
- References: <1371734413-12372-1-git-send-email-andi at firstfloor dot org> <51C3441A dot 50808 at redhat dot com>
> > +It should be only used for operands of type bool or atomic_flag. For
> > +other types only part of the value may be set.
>
> @code{bool}. We have no definition for atomic_flag. Perhaps just @code{char}
> for now?
>
> > +It should be only used for operands of type bool or atomic_flag and
>
> Same.
>
> > +in conjunction with __atomic_test_and_set.
>
> @code{__atomic_test_and_set}.
Ok with these changes?
-Andi
--
ak@linux.intel.com -- Speaking for myself only.