| Index: runtime/vm/os_thread.h
|
| diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h
|
| index 36436aae58dd1a80fa08b9033f73f7112103c890..d03781af5fc075c896ee274db38f8c18022b2366 100644
|
| --- a/runtime/vm/os_thread.h
|
| +++ b/runtime/vm/os_thread.h
|
| @@ -47,6 +47,9 @@ class OSThread {
|
| static void SetThreadLocal(ThreadLocalKey key, uword value);
|
| static intptr_t GetMaxStackSize();
|
| static ThreadId GetCurrentThreadId();
|
| + static intptr_t CurrentCurrentThreadIdAsIntPtr() {
|
| + return ThreadIdToIntPtr(GetCurrentThreadId());
|
| + }
|
| static bool Join(ThreadId id);
|
| static intptr_t ThreadIdToIntPtr(ThreadId id);
|
| static ThreadId ThreadIdFromIntPtr(intptr_t id);
|
|
|