diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-02-22 19:15:16 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-03-30 11:14:09 +0100 |
commit | 1dd04a0fe2ffc4104db5198543ed0ec5895e9651 (patch) | |
tree | 9f2bb11913cee7a9b622c8882b4d086f491abbd3 /include | |
parent | 99ed85bba9de5d9983d3796c18e62041d3ce6575 (diff) |
QUIC Thread Assisted Mode: Support Windows XP
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20348)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/thread_arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/thread_arch.h b/include/internal/thread_arch.h index c8607d50a4..24280d9706 100644 --- a/include/internal/thread_arch.h +++ b/include/internal/thread_arch.h @@ -25,6 +25,9 @@ defined(_WIN32_WINNT) # if _WIN32_WINNT >= 0x0600 # define OPENSSL_THREADS_WINNT +# elif _WIN32_WINNT >= 0x0501 +# define OPENSSL_THREADS_WINNT +# define OPENSSL_THREADS_WINNT_LEGACY # else # define OPENSSL_THREADS_NONE # endif @@ -48,6 +51,7 @@ void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex); void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex, OSSL_TIME deadline); void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv); +void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv); void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv); typedef uint32_t CRYPTO_THREAD_RETVAL; |