Home | History | Annotate | Download | only in pthread_cond_init

Lines Matching refs:rc

27 #define ERR_MSG(f, rc)  printf("Failed: func: %s rc: %s (%u)\n", \
28 f, strerror(rc), rc);
35 int rc;
40 rc = pthread_condattr_init(&condattr);
41 if (rc)
46 rc = pthread_cond_init(&cond1, &condattr);
47 if (rc)
51 rc = pthread_cond_init(&cond2, NULL);
52 if (rc)
59 ERR_MSG(f, rc);