diff options
author | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2023-02-15 13:07:41 +0000 |
---|---|---|
committer | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2023-02-15 13:07:41 +0000 |
commit | 7c6bae885820d85d1eb2010c0cbf9f2d32852d02 (patch) | |
tree | 0467535567f8f3b36bcbcdf51f456214220e6aca /threadproc | |
parent | 09eecf0e7c12500c16d0a5c5d6b5ee05dbc3c2d7 (diff) | |
download | libapr-7c6bae885820d85d1eb2010c0cbf9f2d32852d02.tar.gz |
atomic64: Generic apr_atomic_read64() to always use a lock.
Don't play games with sizeof(void*) to determine whether a raw load
intruction is atomic or not. Systems that fall back to the generic
implementation are not eligible for the compiler builtins or CPU
native atomic intructions already, and we don't want to reimplement
that here (e.g. alignment, ordering guarantees, ...).
* atomic/unix/mutex64.c(apr_atomic_read64):
No #ifdefery, always take the lock.
Follow up to r1907541.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1907678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
0 files changed, 0 insertions, 0 deletions