Home | History | Annotate | Download | only in pthread_attr_setinheritsched

Lines Matching refs:rc

39 	int rc = 0;
41 rc = pthread_getschedparam(pthread_self(), &policy, &param);
42 if (rc != 0) {
61 int rc = 0;
65 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
66 if (rc != 0) {
71 rc = pthread_attr_init(&attr);
72 if (rc != 0) {
77 rc = pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
78 if (rc != 0) {
84 rc = pthread_create(&thread_id, &attr, thread, NULL);
85 if (rc != 0) {
90 rc = pthread_join(thread_id, NULL);
91 if (rc != 0) {