tsan: fix lit test failures

llvm-svn: 183674
This commit is contained in:
Dmitry Vyukov 2013-06-10 16:06:21 +00:00
parent b08e72913a
commit 79de34f75c
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ int main() {
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
printf("OK\n");
return 0;
}

View File

@ -22,6 +22,7 @@ int main() {
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
printf("OK\n");
return 0;
}

View File

@ -22,6 +22,7 @@ int main() {
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
printf("OK\n");
return 0;
}