aboutsummaryrefslogtreecommitdiffstats
path: root/can-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'can-utils.h')
-rw-r--r--can-utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/can-utils.h b/can-utils.h
index 55408cb4..0a4fa246 100644
--- a/can-utils.h
+++ b/can-utils.h
@@ -96,9 +96,15 @@ class CanBus {
bool is_fdmode_on;
struct sockaddr_can txAddress;
+ std::thread th_reading;
+ std::thread th_decoding;
+ std::thread th_pushing;
+
public:
int open();
int close();
+
+ void start_threads();
};
/* Public: The ID format for a CAN message.