Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/thread/arch/
H A Dthread_posix.c157 pthread_cond_t *cv_p; in ossl_crypto_condvar_new() local
159 if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL) in ossl_crypto_condvar_new()
161 if (pthread_cond_init(cv_p, NULL) != 0) { in ossl_crypto_condvar_new()
162 OPENSSL_free(cv_p); in ossl_crypto_condvar_new()
165 return (CRYPTO_CONDVAR *)cv_p; in ossl_crypto_condvar_new()
170 pthread_cond_t *cv_p; in ossl_crypto_condvar_wait() local
173 cv_p = (pthread_cond_t *)cv; in ossl_crypto_condvar_wait()
175 pthread_cond_wait(cv_p, mutex_p); in ossl_crypto_condvar_wait()
181 pthread_cond_t *cv_p = (pthread_cond_t *)cv; in ossl_crypto_condvar_wait_timeout() local
190 pthread_cond_wait(cv_p, mutex_p); in ossl_crypto_condvar_wait_timeout()
[all …]
H A Dthread_win.c333 void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv_p) in ossl_crypto_condvar_free() argument
335 if (*cv_p != NULL) { in ossl_crypto_condvar_free()
336 LEGACY_CONDVAR *cv = *(LEGACY_CONDVAR **)cv_p; in ossl_crypto_condvar_free()
344 *cv_p = NULL; in ossl_crypto_condvar_free()
536 CONDITION_VARIABLE *cv_p; in ossl_crypto_condvar_new() local
538 if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL) in ossl_crypto_condvar_new()
540 InitializeConditionVariable(cv_p); in ossl_crypto_condvar_new()
541 return (CRYPTO_CONDVAR *)cv_p; in ossl_crypto_condvar_new()
546 CONDITION_VARIABLE *cv_p; in ossl_crypto_condvar_wait() local
549 cv_p = (CONDITION_VARIABLE *)cv; in ossl_crypto_condvar_wait()
[all …]