Convert aos over to flatbuffers
Everything builds, and all the tests pass. I suspect that some entries
are missing from the config files, but those will be found pretty
quickly on startup.
There is no logging or live introspection of queue messages.
Change-Id: I496ee01ed68f202c7851bed7e8786cee30df29f5
diff --git a/aos/condition.cc b/aos/condition.cc
index 0c81e2c..e4276b6 100644
--- a/aos/condition.cc
+++ b/aos/condition.cc
@@ -4,9 +4,9 @@
#include <inttypes.h>
#include <time.h>
-#include "aos/logging/logging.h"
#include "aos/mutex/mutex.h"
#include "aos/type_traits/type_traits.h"
+#include "glog/logging.h"
namespace aos {
@@ -28,7 +28,7 @@
const bool do_timeout = timeout != chrono::nanoseconds(0);
if (do_timeout) {
- AOS_PCHECK(clock_gettime(CLOCK_MONOTONIC, &end_time) == 0);
+ PCHECK(clock_gettime(CLOCK_MONOTONIC, &end_time) == 0);
timeout += chrono::nanoseconds(end_time.tv_nsec);
chrono::seconds timeout_seconds =
chrono::duration_cast<chrono::seconds>(timeout);