Home
last modified time | relevance | path

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

/examples/utest/testcases/posix/pthread_h/functions/pthread_detach/
A Dpthread_detach_1-1_tc.c43 pthread_t new_th; in posix_testcase() local
60 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in posix_testcase()
66 if (pthread_detach(new_th) != 0) { in posix_testcase()
72 ret = pthread_join(new_th, NULL); in posix_testcase()
75 pthread_cancel(new_th); in posix_testcase()
A Dpthread_detach_4-1_tc.c47 pthread_t new_th; in posix_testcase() local
64 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in posix_testcase()
70 ret = pthread_detach(new_th); in posix_testcase()
73 pthread_cancel(new_th); in posix_testcase()
A Dpthread_detach_2-1_tc.c42 pthread_t new_th; in posix_testcase() local
59 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in posix_testcase()
65 if (pthread_detach(new_th) != 0) { in posix_testcase()
71 ret = pthread_cancel(new_th); in posix_testcase()
/examples/utest/testcases/posix/pthread_h/functions/
A Drtt_utest_internal.h5 pthread_t new_th; /* Create a new thread. */ in posix_unit_test() local
8 if (pthread_create(&new_th, NULL, (void *(*)(void *))posix_testcase, NULL) != 0) { in posix_unit_test()
13 if (pthread_join(new_th, (void*)&err_val) != 0) { in posix_unit_test()
/examples/utest/testcases/posix/pthread_h/functions/pthread_create/
A Dpthread_create_1-2_tc.c38 pthread_t new_th; in posix_testcase() local
41 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); in posix_testcase()
49 ret = pthread_cancel(new_th); in posix_testcase()
/examples/utest/testcases/posix/pthread_h/functions/pthread_join/
A Dpthread_join_1-1_tc.c46 pthread_t new_th; in posix_testcase() local
52 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { in posix_testcase()
58 if (pthread_join(new_th, NULL) != 0) { in posix_testcase()
/examples/utest/testcases/posix/pthread_h/functions/pthread_exit/
A Dpthread_exit_1-1_tc.c43 pthread_t new_th; in posix_testcase() local
51 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { in posix_testcase()
61 if (pthread_join(new_th, (void *)&value_ptr) != 0) { in posix_testcase()

Completed in 10 milliseconds