Index: runtime/vm/os_thread.h |
diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h |
index c3250d836cef5b17b80357dadcbacfd0ee579b06..36436aae58dd1a80fa08b9033f73f7112103c890 100644 |
--- a/runtime/vm/os_thread.h |
+++ b/runtime/vm/os_thread.h |
@@ -49,6 +49,7 @@ class OSThread { |
static ThreadId GetCurrentThreadId(); |
static bool Join(ThreadId id); |
static intptr_t ThreadIdToIntPtr(ThreadId id); |
+ static ThreadId ThreadIdFromIntPtr(intptr_t id); |
static bool Compare(ThreadId a, ThreadId b); |
static void GetThreadCpuUsage(ThreadId thread_id, int64_t* cpu_usage); |
}; |