[PATCH 1/2] Improve __atomic_clear/test_and_set documentation

Andi Kleen andi@firstfloor.org
Thu Jun 20 18:14:00 GMT 2013


> > +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.



More information about the Gcc-patches mailing list