diff options
author | Pauli <paul.dale@oracle.com> | 2017-10-09 14:39:43 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-10-10 08:45:53 +1000 |
commit | 30ff41beab5d8a53cbcbdab4109b32b9ef5c0f6e (patch) | |
tree | d807a734652467cb791af4cfdfe5330080dca5d1 /include/openssl/crypto.h | |
parent | 94683b7acb62a5d99b8b4d66283e6d6dd0007f7a (diff) | |
download | openssl-30ff41beab5d8a53cbcbdab4109b32b9ef5c0f6e.zip openssl-30ff41beab5d8a53cbcbdab4109b32b9ef5c0f6e.tar.gz openssl-30ff41beab5d8a53cbcbdab4109b32b9ef5c0f6e.tar.bz2 |
Add atomic write call
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4414)
Diffstat (limited to 'include/openssl/crypto.h')
-rw-r--r-- | include/openssl/crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index a9f080d..c2aa07c 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -75,6 +75,7 @@ void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock); int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock); int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock); +int CRYPTO_atomic_write(int *val, int n, CRYPTO_RWLOCK *lock); /* * The following can be used to detect memory leaks in the library. If |