Convert control loop tests over to simulated event loop
This makes it so that we properly only use ShmEventLoop for running in
realtime on a robot. Very nice.
Change-Id: I46b770b336f59e08cfaf28511b3bd5689f72fff1
diff --git a/aos/init.h b/aos/init.h
index 4489c5d..be99a24 100644
--- a/aos/init.h
+++ b/aos/init.h
@@ -23,6 +23,11 @@
// exit gracefully).
void Cleanup();
+// Locks everything into memory and sets the limits. This plus InitNRT are
+// everything you need to do before SetCurrentThreadRealtimePriority will make
+// your thread RT. Called as part of ShmEventLoop::Run()
+void InitRT();
+
// Performs the realtime parts of initialization after InitNRT(true) has been called.
void GoRT(int relative_priority = 0);