Add more functionality to the thread and mutex implementation.
Change-Id: I33b2e53acb4c4c6653f13f1bbdd77cc7ce27e581
diff --git a/src/runtime.h b/src/runtime.h
index 2afd9f0..495ab1c 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -3,6 +3,8 @@
#ifndef ART_SRC_RUNTIME_H_
#define ART_SRC_RUNTIME_H_
+#include "src/thread.h"
+
namespace art {
class Runtime {
@@ -11,10 +13,15 @@
static void Shutdown();
static void Compile(const char* filename);
+
+ void SetThreadList(ThreadList* thread_list) {
+ thread_list_ = thread_list;
+ }
+
+ private:
+ ThreadList* thread_list_;
};
} // namespace art
-namespace r = art;
-
#endif // ART_SRC_RUNTIME_H_