<atomic.h> and single-byte CAS
Joseph Myers
joseph@codesourcery.com
Thu Jul 25 15:39:00 GMT 2019
On Mon, 8 Jul 2019, Florian Weimer wrote:
> Our <atomic.h> does not support single-byte CAS. Does anyone know why?
The obvious reason would be that some architectures don't actually support
it directly, so it has to be implemented there based on word-size CAS, and
the glibc uses of atomics can readily avoid any need for single-byte CAS.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list