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

Unified Diff: runtime/vm/os_thread.h

Issue 1275353005: VM thread shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge Created 5 years, 3 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 | « runtime/vm/message_handler.cc ('k') | runtime/vm/os_thread_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread.h
diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h
index d03781af5fc075c896ee274db38f8c18022b2366..5d6a21e3448e747d179054051e444479ebdae4ee 100644
--- a/runtime/vm/os_thread.h
+++ b/runtime/vm/os_thread.h
@@ -29,6 +29,7 @@ class OSThread {
public:
static ThreadLocalKey kUnsetThreadLocalKey;
static ThreadId kInvalidThreadId;
+ static ThreadJoinId kInvalidThreadJoinId;
typedef void (*ThreadStartFunction) (uword parameter);
typedef void (*ThreadDestructor) (void* parameter);
@@ -50,7 +51,8 @@ class OSThread {
static intptr_t CurrentCurrentThreadIdAsIntPtr() {
return ThreadIdToIntPtr(GetCurrentThreadId());
}
- static bool Join(ThreadId id);
+ static ThreadJoinId GetCurrentThreadJoinId();
+ static void Join(ThreadJoinId id);
static intptr_t ThreadIdToIntPtr(ThreadId id);
static ThreadId ThreadIdFromIntPtr(intptr_t id);
static bool Compare(ThreadId a, ThreadId b);
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/os_thread_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698