summaryrefslogtreecommitdiff
path: root/atomic/unix/builtins.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-04-21 12:24:53 +0000
committerYann Ylavic <ylavic@apache.org>2023-04-21 12:24:53 +0000
commit805904fe295efa5f480b067d8c60777675ea7368 (patch)
treeb669398f4ac8c38c5a8355e475ffdcf8269c3123 /atomic/unix/builtins.c
parent4ab133489c13382e13aea8d34aa0ec404c409f07 (diff)
downloadapr-805904fe295efa5f480b067d8c60777675ea7368.tar.gz
atomics: Disentangle 32bit and 64bit atomics configuration.
Allow for --enable-nonportable-atomics=upto32bit to disable 64bit atomic builtins while still allowing for 32bit ones. yes/no still enables/disables both (if available in the first place..). By default (no --enable-nonportable-atomics setting), generic 64bit atomics are forced for 32bit CPUs/systems, until we figure out how to properly align apr_uint64_t (at least i[56]86 CPUs which could work with 64bit builtins actually don't if the data is not 64bit aligned, assuming the same for other 32bit CPUs is safer). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1909321 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic/unix/builtins.c')
0 files changed, 0 insertions, 0 deletions