X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=can-utils.h;h=0a4fa246411696d4e8799f1599846fe06b6f1cc5;hb=8669985f9ab8821053bdaeadc08250c8c1e71d29;hp=55408cb431ef9a0e98e85e5609a19e22a4854a6b;hpb=398f2aafbe3927bd6f4e961e2f5f090a2770d6d1;p=apps%2Fagl-service-can-low-level.git 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.