Lines Matching refs:statelock
27 if ((handle->statelock = ossl_crypto_mutex_new()) == NULL) in ossl_crypto_thread_native_start()
41 ossl_crypto_mutex_free(&handle->statelock); in ossl_crypto_thread_native_start()
54 ossl_crypto_mutex_lock(thread->statelock); in ossl_crypto_thread_native_join()
57 ossl_crypto_condvar_wait(thread->condvar, thread->statelock); in ossl_crypto_thread_native_join()
65 ossl_crypto_condvar_wait(thread->condvar, thread->statelock); in ossl_crypto_thread_native_join()
70 ossl_crypto_mutex_unlock(thread->statelock); in ossl_crypto_thread_native_join()
75 ossl_crypto_mutex_lock(thread->statelock); in ossl_crypto_thread_native_join()
87 ossl_crypto_mutex_unlock(thread->statelock); in ossl_crypto_thread_native_join()
94 ossl_crypto_mutex_lock(thread->statelock); in ossl_crypto_thread_native_join()
102 ossl_crypto_mutex_unlock(thread->statelock); in ossl_crypto_thread_native_join()
117 ossl_crypto_mutex_lock(handle->statelock); in ossl_crypto_thread_native_clean()
119 ossl_crypto_mutex_unlock(handle->statelock); in ossl_crypto_thread_native_clean()
122 ossl_crypto_mutex_unlock(handle->statelock); in ossl_crypto_thread_native_clean()
125 ossl_crypto_mutex_free(&handle->statelock); in ossl_crypto_thread_native_clean()