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.c354 pthread_mutex_t write_lock; member
582 pthread_mutex_lock(&lock->write_lock); in ossl_rcu_write_lock()
583 TSAN_FAKE_UNLOCK(&lock->write_lock); in ossl_rcu_write_lock()
588 TSAN_FAKE_LOCK(&lock->write_lock); in ossl_rcu_write_unlock()
589 pthread_mutex_unlock(&lock->write_lock); in ossl_rcu_write_unlock()
598 pthread_mutex_lock(&lock->write_lock); in ossl_synchronize_rcu()
601 pthread_mutex_unlock(&lock->write_lock); in ossl_synchronize_rcu()
681 pthread_mutex_init(&new->write_lock, NULL); in ossl_rcu_lock_new()

Completed in 9 milliseconds