Add constructor to ControlLoop which can provide EventLoop
This lets us start the grand move.
Change-Id: I6224dcfd4b74ba6e1d1b8a99a6fd842985acfa86
diff --git a/aos/events/shm-event-loop.h b/aos/events/shm-event-loop.h
index 9bbdb42..49d65f7 100644
--- a/aos/events/shm-event-loop.h
+++ b/aos/events/shm-event-loop.h
@@ -1,3 +1,6 @@
+#ifndef AOS_EVENTS_SHM_EVENT_LOOP_H_
+#define AOS_EVENTS_SHM_EVENT_LOOP_H_
+
#include <unordered_set>
#include <vector>
#include "aos/condition.h"
@@ -79,3 +82,5 @@
};
} // namespace aos
+
+#endif // AOS_EVENTS_SHM_EVENT_LOOP_H_