Add a CRYPTO_atomic_read call which allows an int variable to be read
authorPauli <paul.dale@oracle.com>
Mon, 25 Sep 2017 02:04:42 +0000 (12:04 +1000)
committerPauli <paul.dale@oracle.com>
Mon, 9 Oct 2017 22:45:52 +0000 (08:45 +1000)
commit94683b7acb62a5d99b8b4d66283e6d6dd0007f7a
tree10cec2abdb2f43af401d65c1060c083bb0865fdf
parent338ead0ff9b22aecbc3b28e37ea05d142e13ee13
Add a CRYPTO_atomic_read call which allows an int variable to be read
in an atomic fashion.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4414)
crypto/threads_none.c
crypto/threads_pthread.c
crypto/threads_win.c
doc/man3/CRYPTO_THREAD_run_once.pod
include/openssl/crypto.h
util/libcrypto.num