summaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-23 17:52:35 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-23 17:52:35 +0000
commit035493b81d5bb6d909de05e9a06a0f61588a35aa (patch)
treed459e901c4b74561eb2740a74e0f1b99d6fe5ddd /src/low-can-binding.hpp
parentd59970dce571c1753174124326406ec1ff8e2ce8 (diff)
First draft about lock/wait thread management.
Reordering include files Change-Id: Ia6d9ee30eb4e1df0c380c26355679fe00b373aa8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.hpp')
-rw-r--r--src/low-can-binding.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/low-can-binding.hpp b/src/low-can-binding.hpp
index 0f2b9505..11df1f46 100644
--- a/src/low-can-binding.hpp
+++ b/src/low-can-binding.hpp
@@ -18,6 +18,12 @@
#pragma once
+#include <mutex>
+#include <condition_variable>
+
extern "C" struct afb_binding_interface;
extern const struct afb_binding_interface *binder_interface;
+
+extern std::condition_variable new_can_frame;
+extern std::mutex can_frame_mutex; \ No newline at end of file