tsan: fix flaky test

llvm-svn: 177500
This commit is contained in:
Dmitry Vyukov 2013-03-20 09:22:13 +00:00
parent f6c4a7a2f5
commit b7c68ee856
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include <unistd.h> #include <unistd.h>
int Global; int Global;
__thread int huge[1024*1024];
void *Thread1(void *x) { void *Thread1(void *x) {
sleep(1); sleep(1);