Home
last modified time | relevance | path

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

/crypto/thread/
A Darch.c51 if (thread == NULL) in ossl_crypto_thread_native_join()
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()
86 ossl_crypto_condvar_signal(thread->condvar); in ossl_crypto_thread_native_join()
87 ossl_crypto_mutex_unlock(thread->statelock); in ossl_crypto_thread_native_join()
90 *retval = thread->retval; in ossl_crypto_thread_native_join()
94 ossl_crypto_mutex_lock(thread->statelock); in ossl_crypto_thread_native_join()
[all …]
A Dinternal.c43 CRYPTO_THREAD *thread; in ossl_crypto_thread_start() local
60 thread = ossl_crypto_thread_native_start(start, data, 1); in ossl_crypto_thread_start()
61 if (thread == NULL) { in ossl_crypto_thread_start()
67 thread->ctx = ctx; in ossl_crypto_thread_start()
70 return (void *) thread; in ossl_crypto_thread_start()
A Dbuild.info7 IF[{- !$disabled{'thread-pool'} -}]
/crypto/thread/arch/
A Dthread_posix.c20 CRYPTO_THREAD *thread; in thread_start_thunk() local
23 thread = (CRYPTO_THREAD *)vthread; in thread_start_thunk()
25 ret = thread->routine(thread->data); in thread_start_thunk()
26 ossl_crypto_mutex_lock(thread->statelock); in thread_start_thunk()
28 thread->retval = ret; in thread_start_thunk()
30 ossl_crypto_mutex_unlock(thread->statelock); in thread_start_thunk()
46 if (!thread->joinable) in ossl_crypto_thread_native_spawn()
54 thread->handle = handle; in ossl_crypto_thread_native_spawn()
58 thread->handle = NULL; in ossl_crypto_thread_native_spawn()
68 if (thread == NULL || thread->handle == NULL) in ossl_crypto_thread_native_perform_join()
[all …]
A Dthread_win.c18 CRYPTO_THREAD *thread; in thread_start_thunk() local
21 thread = (CRYPTO_THREAD *)vthread; in thread_start_thunk()
23 thread->thread_id = GetCurrentThreadId(); in thread_start_thunk()
25 ret = thread->routine(thread->data); in thread_start_thunk()
26 ossl_crypto_mutex_lock(thread->statelock); in thread_start_thunk()
28 thread->retval = ret; in thread_start_thunk()
29 ossl_crypto_condvar_signal(thread->condvar); in thread_start_thunk()
47 thread->handle = handle; in ossl_crypto_thread_native_spawn()
51 thread->handle = NULL; in ossl_crypto_thread_native_spawn()
61 if (thread == NULL || thread->handle == NULL) in ossl_crypto_thread_native_perform_join()
[all …]
A Dthread_none.c14 int ossl_crypto_thread_native_spawn(CRYPTO_THREAD *thread) in ossl_crypto_thread_native_spawn() argument
19 int ossl_crypto_thread_native_perform_join(CRYPTO_THREAD *thread, CRYPTO_THREAD_RETVAL *retval) in ossl_crypto_thread_native_perform_join() argument
29 int ossl_crypto_thread_native_is_self(CRYPTO_THREAD *thread) in ossl_crypto_thread_native_is_self() argument
/crypto/
A Dbuild.info9 ffc hpke thread lms ml_dsa slh_dsa
/crypto/err/
A Dopenssl.txt1121 PROV_R_INVALID_THREAD_POOL_SIZE:234:invalid thread pool size

Completed in 22 milliseconds