Home | History | Annotate | Download | only in pthread_attr_setscope

Lines Matching refs:rc

41 	int rc;
44 rc = pthread_attr_init(&attr);
45 if (rc != 0) {
50 rc = pthread_attr_setscope(&attr, CONSCOPE);
51 if (rc != 0) {
56 rc = pthread_create(&new_th, &attr, thread_func, NULL);
57 if (rc != 0) {
62 rc = pthread_attr_getscope(&attr, &cscope);
63 if (rc != 0) {
74 rc = pthread_join(new_th, NULL);
75 if (rc != 0) {
80 rc = pthread_attr_destroy(&attr);
81 if (rc != 0) {