Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dthreads_win.c128 CRYPTO_MUTEX *write_lock; member
176 new->write_lock = ossl_crypto_mutex_new(); in ossl_rcu_lock_new()
185 || new->write_lock == NULL in ossl_rcu_lock_new()
195 ossl_crypto_mutex_free(&new->write_lock); in ossl_rcu_lock_new()
211 ossl_crypto_mutex_free(&lock->write_lock); in ossl_rcu_lock_free()
288 ossl_crypto_mutex_lock(lock->write_lock); in ossl_rcu_write_lock()
293 ossl_crypto_mutex_unlock(lock->write_lock); in ossl_rcu_write_unlock()
H A Dthreads_pthread.c355 pthread_mutex_t write_lock; member
583 pthread_mutex_lock(&lock->write_lock); in ossl_rcu_write_lock()
584 TSAN_FAKE_UNLOCK(&lock->write_lock); in ossl_rcu_write_lock()
589 TSAN_FAKE_LOCK(&lock->write_lock); in ossl_rcu_write_unlock()
590 pthread_mutex_unlock(&lock->write_lock); in ossl_rcu_write_unlock()
599 pthread_mutex_lock(&lock->write_lock); in ossl_synchronize_rcu()
602 pthread_mutex_unlock(&lock->write_lock); in ossl_synchronize_rcu()
682 pthread_mutex_init(&new->write_lock, NULL); in ossl_rcu_lock_new()

Completed in 8 milliseconds