Return a value from atomic read on Windows.
authorPauli <paul.dale@oracle.com>
Tue, 10 Oct 2017 23:47:54 +0000 (09:47 +1000)
committerPauli <paul.dale@oracle.com>
Tue, 10 Oct 2017 23:47:54 +0000 (09:47 +1000)
commitf49452c297438ec349a76dfa38fa26a780084f96
tree95b14e9c3ab78f653b57458eabe8eac327e6f441
parent19f05ebc3f5346d89ec7e71feb5504dbd093721a
Return a value from atomic read on Windows.
Use a read lock when reading using pthreads.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4517)
crypto/threads_pthread.c
crypto/threads_win.c