diff options
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/mutex_destroy_locked.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/lit_tests/mutex_destroy_locked.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/mutex_destroy_locked.cc b/compiler-rt/lib/tsan/lit_tests/mutex_destroy_locked.cc index 427c64345b6..8523f557857 100644 --- a/compiler-rt/lib/tsan/lit_tests/mutex_destroy_locked.cc +++ b/compiler-rt/lib/tsan/lit_tests/mutex_destroy_locked.cc @@ -12,7 +12,7 @@ int main() { pthread_mutex_init(&m, 0); pthread_t t; pthread_create(&t, 0, Thread, &m); - usleep(1000*1000); + sleep(1); pthread_mutex_destroy(&m); pthread_join(t, 0); return 0; |

