Basic DDMS thread support.
DDMS can now see our running threads...
Change-Id: I42d2fce4db9eb846fa0b4aac46ca6bb3443a6c9f
diff --git a/src/thread_list.h b/src/thread_list.h
index baa7dad..6dd7455 100644
--- a/src/thread_list.h
+++ b/src/thread_list.h
@@ -41,6 +41,9 @@
void SuspendSelfForDebugger();
void RunWhileSuspended(Thread* thread, void (*callback)(void*), void* arg);
+ // Iterates over all the threads. The caller must hold the thread list lock.
+ void ForEach(void (*callback)(Thread*));
+
void Register();
void Unregister();