/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
5-1.c | 35 pthread_t new_th; local 39 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 45 pthread_join(new_th, NULL); 49 ret = pthread_cancel(new_th);
|
4-1.c | 40 pthread_t new_th; local 46 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 56 ret = pthread_cancel(new_th);
|
2-1.c | 65 pthread_t new_th; local 72 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 81 if (pthread_cancel(new_th) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-2.c | 38 pthread_t new_th; local 41 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 49 ret = pthread_cancel(new_th);
|
12-1.c | 30 pthread_t new_th; local 33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL);
|
2-1.c | 36 pthread_t new_th; local 41 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 48 ret = pthread_join(new_th, NULL);
|
4-1.c | 30 pthread_t new_th; local 33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 39 ret = pthread_join(new_th, NULL); 47 if (pthread_equal(new_th, self_th) == 0) {
|
1-1.c | 34 pthread_t main_th, new_th; local 37 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 45 if (pthread_equal(new_th, main_th) != 0) { 50 ret = pthread_join(new_th, NULL);
|
3-1.c | 50 pthread_t new_th; local 68 ret = pthread_create(&new_th, &attr, a_thread_func, NULL); 86 ret = pthread_detach(new_th);
|
5-1.c | 34 pthread_t new_th; local 40 ret = pthread_create(&new_th, NULL, a_thread_func, (void *)i); 48 pthread_join(new_th, &res);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
4-2.c | 40 pthread_t new_th; local 44 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 53 if (pthread_join(new_th, NULL) == EDEADLK) { 59 ret = pthread_detach(new_th);
|
1-1.c | 43 pthread_t new_th; local 60 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { 66 if (pthread_detach(new_th) != 0) { 72 ret = pthread_join(new_th, NULL); 75 pthread_cancel(new_th);
|
2-1.c | 42 pthread_t new_th; local 59 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { 65 if (pthread_detach(new_th) != 0) { 71 ret = pthread_cancel(new_th);
|
3-1.c | 42 pthread_t new_th; local 59 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { 65 ret = pthread_detach(new_th); 68 pthread_cancel(new_th);
|
4-1.c | 47 pthread_t new_th; local 64 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { 70 ret = pthread_detach(new_th); 73 pthread_cancel(new_th);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/ |
1-1.c | 33 pthread_t new_th; local 36 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 44 if (pthread_equal(new_th, new_th) == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
5-1.c | 33 pthread_t new_th; local 36 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 41 ret = pthread_join(new_th, NULL);
|
6-2.c | 47 pthread_t new_th; local 50 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 55 ret = pthread_join(new_th, NULL); 66 ret = pthread_join(new_th, NULL);
|
1-1.c | 46 pthread_t new_th; local 52 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 58 if (pthread_join(new_th, NULL) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcancelstate/ |
3-1.c | 42 pthread_t new_th; local 48 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 54 if (pthread_join(new_th, NULL) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_destroy/ |
1-1.c | 36 pthread_t new_th; local 54 ret = pthread_create(&new_th, &new_attr, a_thread_func, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/ |
2-1.c | 37 pthread_t new_th; local 55 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { 62 ret_val = pthread_join(new_th, NULL); 69 ret_val = pthread_detach(new_th);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/speculative/ |
6-1.c | 46 pthread_t new_th; local 53 if (pthread_create(&new_th, &attr, a_thread_func, NULL) != 0) { 58 ret = pthread_join(new_th, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_push/ |
1-1.c | 58 pthread_t new_th; local 64 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 70 if (pthread_join(new_th, NULL) != 0) {
|
1-3.c | 57 pthread_t new_th; local 63 if (pthread_create(&new_th, NULL, a_thread_func, NULL) != 0) { 69 if (pthread_join(new_th, NULL) != 0) {
|