Home | History | Annotate | Download | only in pthread_cond_init

Lines Matching refs:rc

33 #define ERR_MSG(f, rc)	printf("Failed: function: %s status: %s(%u)\n", \
34 f, strerror(rc), rc)
40 int rc;
44 rc = pthread_cond_init(&cond, NULL);
45 if (rc) {
46 ERR_MSG("pthread_cond_init()", rc);
50 rc = pthread_cond_init(&cond, NULL);
51 if (rc && rc != EBUSY) {
52 ERR_MSG("pthread_cond_init() 2", rc);