summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-29 15:24:17 -0400
committerRich Salz <rsalz@openssl.org>2017-08-31 19:42:03 -0400
commited6b2c7938ec6f07b15745d4183afc276e74c6dd (patch)
treeae11f0bb2f38642aceb8174e7b64e2815316250b /include
parent3907872f7234744b478499f42a8d151ca89be64d (diff)
Add CRYPTO_thread_glock_new
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/4294)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index cebde9734b..c4a36afb7e 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -68,6 +68,7 @@ typedef struct {
typedef void CRYPTO_RWLOCK;
CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
+CRYPTO_RWLOCK *CRYPTO_THREAD_glock_new(const char *name);
int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock);