Home
last modified time | relevance | path

Searched refs:thread_fn (Results 1 – 13 of 13) sorted by relevance

/external/ltp/include/
Dtst_safe_pthread.h37 void *(*thread_fn)(void *), void *arg);
38 #define SAFE_PTHREAD_CREATE(thread_id, attr, thread_fn, arg) \ argument
39 safe_pthread_create(__FILE__, __LINE__, thread_id, attr, thread_fn, arg)
/external/ltp/lib/
Dsafe_pthread.c26 void *(*thread_fn)(void *), void *arg) in safe_pthread_create()
30 rval = pthread_create(thread_id, attr, thread_fn, arg); in safe_pthread_create()
35 attr, thread_fn, arg, tst_strerrno(rval)); in safe_pthread_create()
/external/libcxxabi/test/
Dthread_local_destruction_order.pass.cpp44 void thread_fn() { in thread_fn() function
54 std::thread{thread_fn}.join(); in main()
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-4.c97 void *thread_fn(void *param) in thread_fn() function
271 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
283 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
292 rc = pthread_create(&threadtl, &threadattr, thread_fn, &tp[0]); in main()
Dpitest-1.c94 void *thread_fn(void *param) in thread_fn() function
263 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
276 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
Dpitest-5.c95 void *thread_fn(void *param) in thread_fn() function
285 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
298 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
Dpitest-6.c93 void *thread_fn(void *param) in thread_fn() function
262 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
275 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
Dpitest-3.c97 void *thread_fn(void *param) in thread_fn() function
301 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
314 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[i]); in main()
Dpitest-2.c96 void *thread_fn(void *param) in thread_fn() function
289 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
302 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[i]); in main()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl34.c45 static void spawn_threads(pthread_t *id, void *(*thread_fn)(void *)) in spawn_threads()
51 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, (void *)i); in spawn_threads()
/external/valgrind/helgrind/tests/
Dannotate_hbefore.c304 void* thread_fn ( void* arg )
322 r= pthread_create( &t1, NULL, &thread_fn, (void*)&w ); assert(!r);
323 r= pthread_create( &t2, NULL, &thread_fn, (void*)&w ); assert(!r);
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c113 static void *thread_fn(LTP_ATTRIBUTE_UNUSED void *args) in thread_fn() function
220 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, NULL); in do_test()
/external/fio/t/
Ddedupe.c311 static void *thread_fn(void *data) in thread_fn() function
393 err = pthread_create(&threads[i].thread, NULL, thread_fn, &threads[i]); in run_dedupe_threads()