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

Unified Diff: runtime/vm/thread.h

Issue 1391013006: Call known TLS destructors on Windows (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index a27e6730bcece9856c492c647a6acdaf7d49b6bd..1786070a3bf145f3a5f25f716ccb2040e749af1a 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -512,6 +512,11 @@ class ThreadIterator : public ValueObject {
Thread* next_;
};
+#if defined(TARGET_OS_WINDOWS)
+// Clears the state of the current thread and frees the allocation.
+void WindowsThreadCleanUp();
+#endif
siva 2015/10/13 21:30:54 Not sure why this needs to be here in this common
Cutch 2015/10/14 14:43:18 This is structured like this because the Thread::C
+
} // namespace dart
#endif // VM_THREAD_H_
« no previous file with comments | « runtime/vm/os_thread_win.cc ('k') | runtime/vm/thread.cc » ('j') | runtime/vm/thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698