Use pthread_join in test/libc_pipe

Ref #2303
This commit is contained in:
Ehmry - 2019-06-17 14:43:30 +02:00 committed by Christian Helmuth
parent d18f8eea2b
commit 807f5d9af1

View File

@ -80,8 +80,7 @@ int main(int argc, char *argv[])
exit(1);
}
/* pthread_join() is not implemented at this time */
while (!reader_finished) { }
pthread_join(tid, NULL);
printf("--- test finished ---\n");