Home
last modified time | relevance | path

Searched refs:thread_func (Results 1 - 25 of 55) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
H A Dthread-posix.c41 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 Dthread-win32.c35 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 Dthreading_helpers.c18 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 Dbarrier_test.cc32 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 Dlock-autospawn-test.c34 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 Dflist-test.c47 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 Dthreading_helpers.h51 void *(*thread_func)(
83 void *(*thread_func)(void *), void *thread_data);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
H A D1-1.c29 static void *thread_func() in thread_func() function
48 rc = pthread_create(&new_th, NULL, thread_func, NULL); in main()
H A D1-2.c30 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 D3-1.c31 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 Dpthread_getcpuclockid.c21 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 Dtgkill02.c18 static void *thread_func(void *arg) in thread_func() function
49 SAFE_PTHREAD_CREATE(&thread, NULL, thread_func, &tid); in run()
H A Dtgkill01.c34 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 D1-1.c30 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 D2-1.c33 static void *thread_func() in thread_func() function
82 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
H A D2-2.c39 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 D1-1.c30 static void *thread_func() in thread_func() function
71 rc = pthread_create(&thread, &attr, thread_func, NULL); in main()
H A D1-2.c31 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 D1-1.c30 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 D3-1.c49 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 D2-1.c38 static void *thread_func() in thread_func() function
105 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
H A D1-1.c32 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 D4-1.c42 static void *thread_func() in thread_func() function
104 rc = pthread_create(&new_th, &attr, thread_func, NULL); in main()
H A D1-1.c35 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 Dcommon.h45 static void *thread_func(void *data) in thread_func() function
129 rc = pthread_create(&thread, &attr, thread_func, p); in create_test_thread()

Completed in 9 milliseconds

123