Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dthreads_win.c131 CRYPTO_MUTEX *alloc_lock; member
179 new->alloc_lock = ossl_crypto_mutex_new(); in ossl_rcu_lock_new()
186 || new->alloc_lock == NULL in ossl_rcu_lock_new()
193 ossl_crypto_mutex_free(&new->alloc_lock); in ossl_rcu_lock_new()
209 ossl_crypto_mutex_free(&lock->alloc_lock); in ossl_rcu_lock_free()
332 ossl_crypto_mutex_lock(lock->alloc_lock); in update_qp()
340 ossl_crypto_condvar_wait(lock->alloc_signal, lock->alloc_lock); in update_qp()
372 ossl_crypto_mutex_unlock(lock->alloc_lock); in update_qp()
379 ossl_crypto_mutex_lock(lock->alloc_lock); in retire_qp()
382 ossl_crypto_mutex_unlock(lock->alloc_lock); in retire_qp()
H A Dthreads_pthread.c358 pthread_mutex_t alloc_lock; member
511 pthread_mutex_lock(&lock->alloc_lock); in update_qp()
520 pthread_cond_wait(&lock->alloc_signal, &lock->alloc_lock); in update_qp()
557 pthread_mutex_unlock(&lock->alloc_lock); in update_qp()
563 pthread_mutex_lock(&lock->alloc_lock); in retire_qp()
566 pthread_mutex_unlock(&lock->alloc_lock); in retire_qp()
684 pthread_mutex_init(&new->alloc_lock, NULL); in ossl_rcu_lock_new()

Completed in 9 milliseconds