diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-02-09 13:36:18 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-02-09 13:36:18 +0000 |
commit | c0cce761f8e04183ddd506bdb814d66bab5f4a78 (patch) | |
tree | f78eabc76f55a1085e8836c1f484a3516309df9e /configure.in | |
parent | 8c6a1aa1fa33f8c82d1333c9ef38c09799b4cf7b (diff) | |
download | apr-c0cce761f8e04183ddd506bdb814d66bab5f4a78.tar.gz |
apr_atomic: Generic apr_atomic_read64() needs a mutex on 32bit systems (tearing).
A 64bit load on a 32 bit CPU/system uses two instructions (tearing), so ensure
atomicity with regard to other atomic functions by using the (same) lock.
test_atomics_threaded_setread64() fails because of this on 32bit systems. PR 66457.
* atomic/unix/mutex64.c(apr_atomic_read64):
Use locking when APR_SIZEOF_VOIDP < 8
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1907541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
0 files changed, 0 insertions, 0 deletions