Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions conformance/interfaces/pthread_cond_timedwait/4-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ void *t1_func(void *arg)
if (rc == ETIMEDOUT) {
fprintf(stderr,"Thread1 stops waiting when time is out\n");
printf("Test PASSED\n");
pthread_exit(PTS_PASS);
exit(PTS_PASS);
}
else {
fprintf(stderr,"pthread_cond_timedwait return %d instead of ETIMEDOUT\n", rc);
printf("Test FAILED\n");
pthread_exit(PTS_FAIL);
exit(PTS_FAIL);
}
}

Expand Down