Home
last modified time | relevance | path

Searched refs:threadattr (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-4.c241 pthread_attr_t threadattr; in main() local
258 threadattr_init(&threadattr); in main()
262 rc = pthread_create(&threadsample, &threadattr, thread_sample, NULL); in main()
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()
301 rc = pthread_create(&threadtb1, &threadattr, thread_tb1, &timeout); in main()
310 rc = pthread_create(&threadtb2, &threadattr, thread_tb2, &timeout); in main()
Dpitest-2.c260 pthread_attr_t threadattr; in main() local
276 threadattr_init(&threadattr); in main()
280 rc = pthread_create(&threadsample, &threadattr, thread_sample, NULL); in main()
289 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
302 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[i]); in main()
313 rc = pthread_create(&threadtl, &threadattr, thread_tl, &tp[0]); in main()
322 rc = pthread_create(&threadtb1, &threadattr, thread_tb1, &timeout); in main()
330 rc = pthread_create(&threadtb2, &threadattr, thread_tb2, &timeout); in main()
Dpitest-3.c271 pthread_attr_t threadattr; in main() local
288 threadattr_init(&threadattr); in main()
292 rc = pthread_create(&threadsample, &threadattr, thread_sample, NULL); in main()
301 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
314 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[i]); in main()
325 rc = pthread_create(&threadtl, &threadattr, thread_tl, &tp[0]); in main()
334 rc = pthread_create(&threadtb1, &threadattr, thread_tb1, &timeout); in main()
342 rc = pthread_create(&threadtb2, &threadattr, thread_tb2, &timeout); in main()
Dpitest-5.c259 pthread_attr_t threadattr; in main() local
273 threadattr_init(&threadattr); in main()
277 rc = pthread_create(&threadsample, &threadattr, thread_sample, NULL); in main()
285 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
298 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
307 rc = pthread_create(&threadtl, &threadattr, thread_tl, &tp[0]); in main()
315 rc = pthread_create(&threadtb, &threadattr, thread_tb, NULL); in main()
Dpitest-1.c235 pthread_attr_t threadattr; in main() local
250 threadattr_init(&threadattr); in main()
254 rc = pthread_create(&threadsample, &threadattr, thread_sample, NULL); in main()
263 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
276 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
285 rc = pthread_create(&threadtl, &threadattr, thread_tl, &tp[0]); in main()
295 rc = pthread_create(&threadtb, &threadattr, thread_tb, &timeout); in main()
Dpitest-6.c234 pthread_attr_t threadattr; in main() local
249 threadattr_init(&threadattr); in main()
253 rc = pthread_create(&threadsample, &threadattr, thread_sample, NULL); in main()
262 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
275 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
284 rc = pthread_create(&threadtl, &threadattr, thread_tl, &tp[0]); in main()
293 rc = pthread_create(&threadtb, &threadattr, thread_tb, &timeout); in main()
/external/ltp/testcases/open_posix_testsuite/functional/threads/include/
Dpitest.h74 int threadattr_init(pthread_attr_t *threadattr) in threadattr_init() argument
77 rc = pthread_attr_init(threadattr); in threadattr_init()