Home
last modified time | relevance | path

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

/third_party/openssl/crypto/objects/
Do_names.c47 static CRYPTO_RWLOCK *obj_lock = NULL; variable
71 obj_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
72 if (obj_lock != NULL) in DEFINE_RUN_ONCE_STATIC()
75 CRYPTO_THREAD_lock_free(obj_lock); in DEFINE_RUN_ONCE_STATIC()
76 obj_lock = NULL; in DEFINE_RUN_ONCE_STATIC()
79 return names_lh != NULL && obj_lock != NULL; in DEFINE_RUN_ONCE_STATIC()
97 CRYPTO_THREAD_write_lock(obj_lock); in OBJ_NAME_new_index()
142 CRYPTO_THREAD_unlock(obj_lock); in OBJ_NAME_new_index()
188 CRYPTO_THREAD_read_lock(obj_lock); in OBJ_NAME_get()
210 CRYPTO_THREAD_unlock(obj_lock); in OBJ_NAME_get()
[all …]