mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 20:43:46 +08:00
thread: remove remnants of ossl_crypto_mem_barrier
Commit ac21c1780a
VMS knows POSIX threads too!
removed ossl_crypto_mem_barrier for POSIX systems.
Remove it for Win32 and other architectures as well.
Resolves issue #19506 Unable to build under bcc32c environment (Embarcadero
clang compiler).
Signed-off-by: Čestmír Kalina <ckalina@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20538)
This commit is contained in:
parent
fdfa63dfd6
commit
41c3c71382
@ -70,8 +70,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void ossl_crypto_mem_barrier(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -179,9 +179,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
|
|||||||
*cv_p = NULL;
|
*cv_p = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ossl_crypto_mem_barrier(void)
|
|
||||||
{
|
|
||||||
MemoryBarrier();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -117,6 +117,4 @@ int ossl_crypto_thread_native_exit(void);
|
|||||||
int ossl_crypto_thread_native_is_self(CRYPTO_THREAD *thread);
|
int ossl_crypto_thread_native_is_self(CRYPTO_THREAD *thread);
|
||||||
int ossl_crypto_thread_native_clean(CRYPTO_THREAD *thread);
|
int ossl_crypto_thread_native_clean(CRYPTO_THREAD *thread);
|
||||||
|
|
||||||
void ossl_crypto_mem_barrier(void);
|
|
||||||
|
|
||||||
#endif /* OSSL_INTERNAL_THREAD_ARCH_H */
|
#endif /* OSSL_INTERNAL_THREAD_ARCH_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user