Home | History | Annotate | Download | only in pthread_getschedparam

Lines Matching refs:rc

26 #define ERR_MSG(f, rc) printf("Failed: func: %s rc: %s (%u)\n", \
27 f, strerror(rc), rc)
33 int rc;
35 rc = pthread_getschedparam(pthread_self(), &policy, &sparam);
36 if (rc != 0) {
37 ERR_MSG("pthread_getschedparam()", rc);
46 int rc;
48 rc = pthread_create(&new_th, NULL, thread_func, NULL);
49 if (rc) {
50 ERR_MSG("pthread_create()", rc);