Searched refs:thread_fn (Results 1 - 6 of 6) sorted by relevance
/third_party/ltp/testcases/cve/ |
H A D | cve-2017-17053.c | 32 void *(*thread_fn)(void *), void *arg) in try_pthread_create() 36 rval = pthread_create(thread_id, attr, thread_fn, arg); in try_pthread_create() 40 thread_id, attr, thread_fn, arg, tst_strerrno(rval)); in try_pthread_create()
|
/third_party/ltp/include/ |
H A D | tst_safe_pthread.h | 24 void *(*thread_fn)(void *), void *arg); 25 #define SAFE_PTHREAD_CREATE(thread_id, attr, thread_fn, arg) \ 26 safe_pthread_create(__FILE__, __LINE__, thread_id, attr, thread_fn, arg)
|
/third_party/ltp/testcases/kernel/syscalls/nice/ |
H A D | nice05.c | 63 static void *thread_fn(void *arg) in thread_fn() function 112 SAFE_PTHREAD_CREATE(&thread[0], NULL, thread_fn, in verify_nice() 114 SAFE_PTHREAD_CREATE(&thread[1], NULL, thread_fn, in verify_nice()
|
/third_party/ltp/lib/ |
H A D | safe_pthread.c | 14 void *(*thread_fn)(void *), void *arg) in safe_pthread_create() 18 rval = pthread_create(thread_id, attr, thread_fn, arg); in safe_pthread_create() 23 attr, thread_fn, arg, tst_strerrno(rval)); in safe_pthread_create()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl34.c | 29 static void spawn_threads(pthread_t *id, void *(*thread_fn)(void *)) in spawn_threads() 35 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, (void *)i); in spawn_threads()
|
/third_party/ltp/testcases/network/nfs/nfs_stress/ |
H A D | nfs05_make_tree.c | 99 static void *thread_fn(LTP_ATTRIBUTE_UNUSED void *args) in thread_fn() function 206 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, NULL); in do_test()
|
Completed in 4 milliseconds