diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-10-08 11:10:32 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-10-08 11:10:32 +0000 |
commit | 962070b59215d49929a72bb0dce9119a15bfce6b (patch) | |
tree | ceead25e4eb73f60a951a12cb5e77aa38f9a27bd /CHANGES | |
parent | f0bd008e3b8baa86170db4df0c16828dbc7938f3 (diff) | |
download | apr-962070b59215d49929a72bb0dce9119a15bfce6b.tar.gz |
apr_atomic_read64(): Fix non-atomic read on 32-bit Windows.
* atomic/win32/apr_atomic64.c
(apr_atomic_read64): Use InterlockedCompareExchange64() instead of direct
memory read.
* test/testatomic.c
(test_atomics_threaded_setread64): New test.
(test_func_set64): Helepr for test_atomics_threaded_setread64 test.
* CHANGES: Add changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868129 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -226,6 +226,8 @@ Changes for APR 2.0.0 *) Remove the APR_SENDFILE_DISCONNECT_SOCKET flag. [Ivan Zhakov] + *) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov] + Changes for APR and APR-util 1.6.x and later: *) http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/CHANGES?view=markup |