Home | History | Annotate | Download | only in pthread_getschedparam

Lines Matching refs:rc

27 #define ERR_MSG(f, rc)  printf("Failed: func %s rc: %s (%u)\n", \
28 f, strerror(rc), rc)
34 int rc;
40 rc = pthread_setschedparam(pthread_self(), policy, &sparam);
41 if (rc) {
42 ERR_MSG("pthread_setschedparam()", rc);
45 rc = pthread_getschedparam(pthread_self(), &policy_1, &sparam);
46 if (rc != 0) {
47 ERR_MSG("pthread_getschedparam()", rc);
68 int rc;
70 rc = pthread_create(&new_th, NULL, thread_func, NULL);
71 if (rc) {
72 ERR_MSG("pthread_create()", rc);