/external/ltp/include/ |
D | tst_safe_pthread.h | 23 void *(*thread_fn)(void *), void *arg); 24 #define SAFE_PTHREAD_CREATE(thread_id, attr, thread_fn, arg) \ argument 25 safe_pthread_create(__FILE__, __LINE__, thread_id, attr, thread_fn, arg)
|
/external/ltp/lib/ |
D | safe_pthread.c | 26 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/ |
D | thread_local_destruction_order.pass.cpp | 44 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/ |
D | pitest-4.c | 97 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()
|
D | pitest-1.c | 94 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()
|
D | pitest-6.c | 93 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()
|
D | pitest-5.c | 95 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()
|
D | pitest-2.c | 96 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()
|
D | pitest-3.c | 97 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()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl34.c | 43 static void spawn_threads(pthread_t *id, void *(*thread_fn)(void *)) in spawn_threads() 49 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, (void *)i); in spawn_threads()
|
/external/valgrind/helgrind/tests/ |
D | annotate_hbefore.c | 314 void* thread_fn ( void* arg ) 332 r= pthread_create( &t1, NULL, &thread_fn, (void*)&w ); assert(!r); 333 r= pthread_create( &t2, NULL, &thread_fn, (void*)&w ); assert(!r);
|
/external/fio/t/ |
D | dedupe.c | 311 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()
|