Home
last modified time | relevance | path

Searched refs:mbedtls_test_thread_t (Results 1 - 2 of 2) sorted by relevance

/third_party/mbedtls/tests/include/test/
H A Dthreading_helpers.h33 /* You should define the mbedtls_test_thread_t type in your header */
50 void mbedtls_test_thread_set_alt(int (*thread_create)(mbedtls_test_thread_t *thread,
54 int (*thread_join)(mbedtls_test_thread_t *thread));
58 typedef struct mbedtls_test_thread_t { struct
67 } mbedtls_test_thread_t; typedef
82 extern int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread,
84 extern int (*mbedtls_test_thread_join)(mbedtls_test_thread_t *thread);
/third_party/mbedtls/tests/src/
H A Dthreading_helpers.c18 static int threading_thread_create_pthread(mbedtls_test_thread_t *thread, void *(*thread_func)( in threading_thread_create_pthread()
32 static int threading_thread_join_pthread(mbedtls_test_thread_t *thread) in threading_thread_join_pthread()
45 int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread, void *(*thread_func)(void *),
47 int (*mbedtls_test_thread_join)(mbedtls_test_thread_t *thread) = threading_thread_join_pthread;
53 static int threading_thread_create_fail(mbedtls_test_thread_t *thread, in threading_thread_create_fail()
64 static int threading_thread_join_fail(mbedtls_test_thread_t *thread) in threading_thread_join_fail()
71 int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread, void *(*thread_func)(void *),
73 int (*mbedtls_test_thread_join)(mbedtls_test_thread_t *thread) = threading_thread_join_fail;

Completed in 2 milliseconds