We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2637242 commit 533ca56Copy full SHA for 533ca56
conformance/interfaces/pthread_cond_timedwait/4-1.c
@@ -52,12 +52,12 @@ void *t1_func(void *arg)
52
if (rc == ETIMEDOUT) {
53
fprintf(stderr,"Thread1 stops waiting when time is out\n");
54
printf("Test PASSED\n");
55
- pthread_exit(PTS_PASS);
+ exit(PTS_PASS);
56
}
57
else {
58
fprintf(stderr,"pthread_cond_timedwait return %d instead of ETIMEDOUT\n", rc);
59
printf("Test FAILED\n");
60
- pthread_exit(PTS_FAIL);
+ exit(PTS_FAIL);
61
62
63
0 commit comments