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.c357 pthread_mutex_t alloc_lock; member
510 pthread_mutex_lock(&lock->alloc_lock); in update_qp()
519 pthread_cond_wait(&lock->alloc_signal, &lock->alloc_lock); in update_qp()
556 pthread_mutex_unlock(&lock->alloc_lock); in update_qp()
562 pthread_mutex_lock(&lock->alloc_lock); in retire_qp()
565 pthread_mutex_unlock(&lock->alloc_lock); in retire_qp()
683 pthread_mutex_init(&new->alloc_lock, NULL); in ossl_rcu_lock_new()

Completed in 12 milliseconds