Index: runtime/vm/os_thread_macos.h |
diff --git a/runtime/vm/os_thread_macos.h b/runtime/vm/os_thread_macos.h |
index 63b4f02facc715381aab41de4310d388b9e605b9..4909edf5c852ad152a48ad64a725bfc8a2dae5dd 100644 |
--- a/runtime/vm/os_thread_macos.h |
+++ b/runtime/vm/os_thread_macos.h |
@@ -20,6 +20,11 @@ typedef pthread_key_t ThreadLocalKey; |
typedef pthread_t ThreadId; |
typedef pthread_t ThreadJoinId; |
+ |
+static const ThreadLocalKey kUnsetThreadLocalKey = |
+ static_cast<pthread_key_t>(-1); |
+ |
+ |
class ThreadInlineImpl { |
private: |
ThreadInlineImpl() {} |