[PATCH] Add comment that 64b atomics need to work with either LP64 or ILP32.

Torvald Riegel triegel@redhat.com
Thu Jan 22 19:25:00 GMT 2015


This just adds a comment that even if 64b atomics are supported, the
code still needs to work under both LP64 and ILP32.  I'm not aware of a
general rule for supporting just LP64 or ILP32, but it's what seems to
result from the assumptions Joseph listed.

I suppose this is useful irrespective of Joseph's comment that moving to
stdint.h types generally would be useful; that would be future clean-up,
and even then there might be cases where we can't include stdint.h
easily (exposed headers, perhaps?).

Thoughts?


2015-01-22  Torvald Riegel  <triegel@redhat.com>

	* include/atomic.h: Add comment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomicslp64ilp32.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150122/f9542b54/attachment.bin>


More information about the Libc-alpha mailing list