Home | History | Annotate | Download | only in pthread_attr_setinheritsched

Lines Matching refs:rc

35 	int rc;
42 rc = pthread_getschedparam(self, &new_policy, &param);
43 if (rc != 0) {
60 int rc;
63 rc = pthread_attr_init(&attr);
64 if (rc != 0) {
69 rc = pthread_attr_setschedpolicy(&attr, policy);
70 if (rc != 0) {
76 rc = pthread_attr_setinheritsched(&attr, insched);
77 if (rc != 0) {
82 rc = pthread_create(&new_th, &attr, thread_func, NULL);
83 if (rc != 0) {
88 rc = pthread_join(new_th, NULL);
89 if (rc != 0) {
93 rc = pthread_attr_destroy(&attr);
94 if (rc != 0) {