Home
last modified time | relevance | path

Searched refs:ossl_obj_lock (Results 1 – 1 of 1) sorted by relevance

/openssl/crypto/objects/
H A Dobj_dat.c41 static CRYPTO_RWLOCK *ossl_obj_lock = NULL; variable
50 CRYPTO_THREAD_lock_free(ossl_obj_lock); in objs_free_locks()
51 ossl_obj_lock = NULL; in objs_free_locks()
60 ossl_obj_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
61 if (ossl_obj_lock == NULL) in DEFINE_RUN_ONCE_STATIC()
89 return CRYPTO_THREAD_write_lock(ossl_obj_lock); in ossl_obj_write_lock()
98 return CRYPTO_THREAD_read_lock(ossl_obj_lock); in ossl_obj_read_lock()
104 CRYPTO_THREAD_unlock(ossl_obj_lock); in ossl_obj_unlock()

Completed in 20 milliseconds