Lines Matching refs:newthread
238 pthread_t newthread[N_THR_E]; in test_posix_pthread_execution() local
306 ret = pthread_create(&newthread[0], &attr[0], in test_posix_pthread_execution()
340 ret = pthread_create(&newthread[i], &attr[i], thread_top_exec, in test_posix_pthread_execution()
348 ret = pthread_getname_np(newthread[0], NULL, sizeof(thr_name_buf)); in test_posix_pthread_execution()
352 ret = pthread_setname_np(newthread[0], NULL); in test_posix_pthread_execution()
356 ret = pthread_setname_np(newthread[0], thr_name); in test_posix_pthread_execution()
360 ret = pthread_getname_np(newthread[0], thr_name_buf, in test_posix_pthread_execution()
391 pthread_join(newthread[i], &retval); in test_posix_pthread_execution()
477 pthread_t newthread[N_THR_T]; in test_posix_pthread_termination() local
498 ret = pthread_create(&newthread[i], &attr[i], thread_top_term, in test_posix_pthread_termination()
509 ret = pthread_setschedparam(newthread[0], SCHED_INVALID, &schedparam); in test_posix_pthread_termination()
514 ret = pthread_setschedparam(newthread[0], SCHED_RR, &schedparam); in test_posix_pthread_termination()
518 pthread_join(newthread[i], &retval); in test_posix_pthread_termination()
526 ret = pthread_cancel(newthread[N_THR_T/2]); in test_posix_pthread_termination()
530 ret = pthread_getschedparam(newthread[N_THR_T/2], &policy, &schedparam); in test_posix_pthread_termination()