diff options
author | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2023-02-09 13:36:18 +0000 |
---|---|---|
committer | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2023-02-09 13:36:18 +0000 |
commit | 50b89662a208326baf9809648007bcc7a00c86f2 (patch) | |
tree | f78eabc76f55a1085e8836c1f484a3516309df9e /build/aprapp.dsp | |
parent | 202059a1a64264951d979222c92c8d6d924f0fa2 (diff) | |
download | libapr-50b89662a208326baf9809648007bcc7a00c86f2.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_threaded64() 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 'build/aprapp.dsp')
0 files changed, 0 insertions, 0 deletions