/third_party/pulseaudio/src/pulsecore/ |
H A D | thread-posix.c | 41 pa_thread_func_t thread_func; member 57 if (!t->thread_func) { in thread_free_cb() 81 t->thread_func(t->userdata); in internal_thread_func() 87 pa_thread* pa_thread_new(const char *name, pa_thread_func_t thread_func, void *userdata) { in pa_thread_new() argument 90 pa_assert(thread_func); in pa_thread_new() 94 t->thread_func = thread_func; in pa_thread_new() 114 pa_assert(t->thread_func); in pa_thread_is_running() 137 pa_assert(t->thread_func); in pa_thread_join()
|
H A D | thread-win32.c | 35 pa_thread_func_t thread_func; member 66 t->thread_func(t->userdata); in internal_thread_func() 71 pa_thread* pa_thread_new(const char *name, pa_thread_func_t thread_func, void *userdata) { in pa_thread_new() argument 75 assert(thread_func); in pa_thread_new() 78 t->thread_func = thread_func; in pa_thread_new()
|
/third_party/mbedtls/tests/src/ |
H A D | threading_helpers.c | 18 static int threading_thread_create_pthread(mbedtls_test_thread_t *thread, void *(*thread_func)( in threading_thread_create_pthread() 21 if (thread == NULL || thread_func == NULL) { in threading_thread_create_pthread() 25 if (pthread_create(&thread->thread, NULL, thread_func, thread_data)) { in threading_thread_create_pthread() 45 int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread, void *(*thread_func)(void *), 54 void *(*thread_func)(void *), in threading_thread_create_fail() 58 (void) thread_func; in threading_thread_create_fail() 71 int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread, void *(*thread_func)(void *),
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | barrier_test.cc | 32 auto thread_func = [&] { in TEST() local 44 // Start (kNumThreads - 1) threads running thread_func. in TEST() 47 threads.push_back(std::thread(thread_func)); in TEST() 65 threads.push_back(std::thread(thread_func)); in TEST()
|
/third_party/pulseaudio/src/tests/ |
H A D | lock-autospawn-test.c | 34 static void thread_func(void*k) { in thread_func() function 91 pa_assert_se((a = pa_thread_new("test1", thread_func, PA_INT_TO_PTR(1)))); in START_TEST() 94 pa_assert_se((d = pa_thread_new("test4", thread_func, PA_INT_TO_PTR(4)))); in START_TEST()
|
H A D | flist-test.c | 47 static void thread_func(void *data) { in thread_func() function 88 threads[i] = pa_thread_new("test", thread_func, pa_sprintf_malloc("Thread #%i", i+1)); in main()
|
/third_party/mbedtls/tests/include/test/ |
H A D | threading_helpers.h | 51 void *(*thread_func)( 83 void *(*thread_func)(void *), void *thread_data);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
H A D | 1-1.c | 29 static void *thread_func() in thread_func() function 48 rc = pthread_create(&new_th, NULL, thread_func, NULL); in main()
|
H A D | 1-2.c | 30 static void *thread_func(void* arg PTS_ATTRIBUTE_UNUSED) in thread_func() function 70 rc = pthread_create(&new_th, NULL, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/speculative/ |
H A D | 3-1.c | 31 static void *thread_func() in thread_func() function 43 rc = pthread_create(&new_th, NULL, thread_func, NULL); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_getcpuclockid.c | 21 static void *thread_func(void *arg) in thread_func() function 42 int ret = pthread_create(&thread, NULL, thread_func, NULL); in pthread_getcpuclockid_0100()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
H A D | tgkill02.c | 18 static void *thread_func(void *arg) in thread_func() function 49 SAFE_PTHREAD_CREATE(&thread, NULL, thread_func, &tid); in run()
|
H A D | tgkill01.c | 34 static void *thread_func(void *arg) in thread_func() function 54 SAFE_PTHREAD_CREATE(&thread->thread, NULL, thread_func, thread); in start_thread()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/ |
H A D | 1-1.c | 30 static void *thread_func() in thread_func() function 51 rc = pthread_create(&new_th, NULL, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
H A D | 2-1.c | 33 static void *thread_func() in thread_func() function 82 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
H A D | 2-2.c | 39 static void *thread_func(void *arg PTS_ATTRIBUTE_UNUSED) in thread_func() function 96 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/ |
H A D | 1-1.c | 30 static void *thread_func() in thread_func() function 71 rc = pthread_create(&thread, &attr, thread_func, NULL); in main()
|
H A D | 1-2.c | 31 static void *thread_func() in thread_func() function 73 rc = pthread_create(&thread, &attr, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setscope/ |
H A D | 1-1.c | 30 static void *thread_func() in thread_func() function 56 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
H A D | 3-1.c | 49 static void *thread_func(PTS_ATTRIBUTE_UNUSED void *unused) in thread_func() function 70 SAFE_PFUNC(pthread_create(&th, NULL, thread_func, NULL)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
H A D | 2-1.c | 38 static void *thread_func() in thread_func() function 105 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
H A D | 1-1.c | 32 static void *thread_func() in thread_func() function 79 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
H A D | 4-1.c | 42 static void *thread_func() in thread_func() function 104 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
H A D | 1-1.c | 35 static void *thread_func() in thread_func() function 87 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/ |
H A D | common.h | 45 static void *thread_func(void *data) in thread_func() function 129 rc = pthread_create(&thread, &attr, thread_func, p); in create_test_thread()
|