Searched refs:new_th (Results 1 – 7 of 7) sorted by relevance
| /examples/utest/testcases/posix/pthread_h/functions/pthread_detach/ |
| A D | pthread_detach_1-1_tc.c | 43 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 D | pthread_detach_4-1_tc.c | 47 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 D | pthread_detach_2-1_tc.c | 42 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 D | rtt_utest_internal.h | 5 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 D | pthread_create_1-2_tc.c | 38 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 D | pthread_join_1-1_tc.c | 46 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 D | pthread_exit_1-1_tc.c | 43 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