Home | History | Annotate | Download | only in pthread_attr_setschedparam

Lines Matching refs:rc

59 	int rc = 0;
62 rc = pthread_attr_init(&attr);
63 if (rc != 0) {
67 rc = pthread_attr_setschedpolicy(&attr, POLICY);
68 if (rc != 0) {
73 rc = pthread_attr_setschedparam(&attr, &param);
74 if (rc != 0) {
79 rc = pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED);
80 if (rc != 0) {
86 rc = pthread_create(&thread_id, &attr, thread, NULL);
87 if (rc != 0) {
92 rc = pthread_join(thread_id, NULL);
93 if (rc != 0) {