Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: runtime/vm/os_win.cc

Issue 469993002: - Make sure static in bin/ is initialized. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_win.cc
===================================================================
--- runtime/vm/os_win.cc (revision 39233)
+++ runtime/vm/os_win.cc (working copy)
@@ -11,6 +11,9 @@
#include <process.h> // NOLINT
#include <time.h> // NOLINT
+// TODO(iposva): Move this out to bin/thread initialization.
+#include "bin/thread.h"
+
#include "platform/utils.h"
#include "platform/assert.h"
#include "vm/thread.h"
@@ -315,6 +318,9 @@
_set_abort_behavior(0, _WRITE_ABORT_MSG);
MonitorWaitData::monitor_wait_data_key_ = Thread::CreateThreadLocal();
MonitorData::GetMonitorWaitDataForThread();
+ // TODO(iposva): Move this out to bin/thread initialization.
+ bin::MonitorWaitData::monitor_wait_data_key_ = Thread::CreateThreadLocal();
+ bin::MonitorData::GetMonitorWaitDataForThread();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698