Searched refs:new_attr (Results 1 – 3 of 3) sorted by relevance
| /examples/utest/testcases/posix/pthread_h/functions/pthread_detach/ |
| A D | pthread_detach_4-1_tc.c | 46 pthread_attr_t new_attr; in posix_testcase() local 51 if (pthread_attr_init(&new_attr) != 0) { in posix_testcase() 57 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in posix_testcase() 64 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in posix_testcase()
|
| A D | pthread_detach_2-1_tc.c | 41 pthread_attr_t new_attr; in posix_testcase() local 46 if (pthread_attr_init(&new_attr) != 0) { in posix_testcase() 52 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_JOINABLE) != in posix_testcase() 59 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in posix_testcase()
|
| A D | pthread_detach_1-1_tc.c | 42 pthread_attr_t new_attr; in posix_testcase() local 47 if (pthread_attr_init(&new_attr) != 0) { in posix_testcase() 53 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_JOINABLE) != in posix_testcase() 60 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in posix_testcase()
|
Completed in 4 milliseconds