Index: runtime/bin/main.cc |
=================================================================== |
--- runtime/bin/main.cc (revision 39237) |
+++ runtime/bin/main.cc (working copy) |
@@ -20,6 +20,7 @@ |
#include "bin/log.h" |
#include "bin/platform.h" |
#include "bin/process.h" |
+#include "bin/thread.h" |
#include "bin/vmservice_impl.h" |
#include "platform/globals.h" |
#include "platform/hashmap.h" |
@@ -986,6 +987,8 @@ |
} |
} |
+ Thread::InitOnce(); |
+ |
if (!DartUtils::SetOriginalWorkingDirectory()) { |
OSError err; |
fprintf(stderr, "Error determining current directory: %s\n", err.message()); |