[openssl/openssl] 7fca5d: Disable atomic refcounts with no-threads
jwt27
noreply at github.com
Tue Feb 28 22:14:26 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 7fca5df7ab49ccdc6b8e0a2bcecb644cf907ae5c
https://github.com/openssl/openssl/commit/7fca5df7ab49ccdc6b8e0a2bcecb644cf907ae5c
Author: J.W. Jagersma <jwjagersma at gmail.com>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M include/internal/refcount.h
Log Message:
-----------
Disable atomic refcounts with no-threads
This is needed for building with '-march=i386 no-threads', on platforms
where libatomic is not available (djgpp, specifically). The
implementation now falls back to 'CRYPTO_atomic_add()', which performs
plain lock-free addition in a 'no-threads' build.
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19751)
(cherry picked from commit b484c6268ce38ccbc1bf5ee95bbd36f76fba994f)
More information about the openssl-commits
mailing list