Home | History | Annotate | Download | only in pthread_cond_destroy

Lines Matching refs:rc

24 	int rc;
27 if ((rc = pthread_condattr_init(&condattr)) != 0) {
28 fprintf(stderr, "Error at pthread_condattr_init(), rc=%d\n",
29 rc);
34 if ((rc = pthread_cond_init(&cond1, &condattr)) != 0) {
35 fprintf(stderr, "Fail to initialize cond1, rc=%d\n", rc);
40 if ((rc = pthread_cond_init(&cond2, NULL)) != 0) {
41 fprintf(stderr, "Fail to initialize cond2, rc=%d\n", rc);
46 if ((rc = pthread_condattr_destroy(&condattr)) != 0) {
47 fprintf(stderr, "Error at pthread_condattr_destroy(), rc=%d\n",
48 rc);
53 if ((rc = pthread_cond_destroy(&cond1)) != 0) {
54 fprintf(stderr, "Fail to destroy cond1, rc=%d\n", rc);
60 if ((rc = pthread_cond_destroy(&cond2)) != 0) {
61 fprintf(stderr, "Fail to destroy cond2, rc=%d\n", rc);
67 if ((rc = pthread_cond_destroy(&cond3)) != 0) {
68 fprintf(stderr, "Fail to destroy cond3, rc=%d\n", rc);