Home
last modified time | relevance | path

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

/openssl/test/
H A Dthreadstest.c299 static CRYPTO_RCU_LOCK *rcu_lock = NULL; variable
327 ossl_rcu_write_lock(rcu_lock); in writer_fn()
333 ossl_rcu_call(rcu_lock, free_old_rcu_data, old); in writer_fn()
334 ossl_rcu_write_unlock(rcu_lock); in writer_fn()
336 ossl_synchronize_rcu(rcu_lock); in writer_fn()
378 ossl_rcu_read_lock(rcu_lock); in reader_fn()
387 ossl_rcu_read_unlock(rcu_lock); in reader_fn()
438 rcu_lock = ossl_rcu_lock_new(1, NULL); in _torture_rcu()
439 if (rcu_lock == NULL) in _torture_rcu()
476 ossl_rcu_lock_free(rcu_lock); in _torture_rcu()

Completed in 9 milliseconds