Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/thread/arch/
H A Dthread_posix.c111 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_try_lock() local
113 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_try_lock()
115 if (pthread_mutex_trylock(mutex_p) == EBUSY) in ossl_crypto_mutex_try_lock()
124 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_lock() local
126 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_lock()
127 rc = pthread_mutex_lock(mutex_p); in ossl_crypto_mutex_lock()
134 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_unlock() local
136 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_unlock()
137 rc = pthread_mutex_unlock(mutex_p); in ossl_crypto_mutex_unlock()
143 pthread_mutex_t **mutex_p; in ossl_crypto_mutex_free() local
[all …]
H A Dthread_win.c109 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_lock() local
111 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_lock()
112 EnterCriticalSection(mutex_p); in ossl_crypto_mutex_lock()
117 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_try_lock() local
119 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_try_lock()
120 if (TryEnterCriticalSection(mutex_p)) in ossl_crypto_mutex_try_lock()
128 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_unlock() local
130 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_unlock()
131 LeaveCriticalSection(mutex_p); in ossl_crypto_mutex_unlock()
136 CRITICAL_SECTION **mutex_p; in ossl_crypto_mutex_free() local
[all …]