Use read/write locking on Windows
authorVincent Drake <vdrake@gmail.com>
Mon, 1 Mar 2021 19:38:02 +0000 (14:38 -0500)
committerMatt Caswell <matt@openssl.org>
Thu, 11 Mar 2021 10:33:06 +0000 (10:33 +0000)
Fixes #13914

The "SRWLock" synchronization primitive is available in Windows Vista
and later.  CRYPTO_THREAD functions now use SRWLock functions when the
target operating system supports them.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14381)


No differences found