From 5c0c41e87ed5d1a2de7d336465c3beb3987a299f Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 24 Feb 2017 11:10:02 +0000 Subject: Remove socket read management by systemd event loop and use classic thread with a blocking read Change-Id: Iac5428009b57c727bb32bd4893bc3fe282ba35c7 Signed-off-by: Romain Forlot --- src/can-utils.hpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/can-utils.hpp') diff --git a/src/can-utils.hpp b/src/can-utils.hpp index e4a3d340..11e19f35 100644 --- a/src/can-utils.hpp +++ b/src/can-utils.hpp @@ -325,15 +325,6 @@ class can_bus_dev_t { */ can_bus_dev_t(const std::string& dev_name); - /** - * @brief Connect to the application framework event loop and adding - * a watch on the socket that will wakeup reading thread that will - * read the socket and fill can_bus_t object queue. - * - * @return 0 if success, anything else if not. - */ - int event_loop_connection(); - /** * @brief Open the can socket and returning it * @@ -521,8 +512,7 @@ void pre_initialize(can_bus_dev_t* bus, bool writable, can_bus_dev_t* buses, con /** * @fn void post_initialize(can_bus_dev_t* bus, bool writable, can_bus_dev_t* buses, const int busCount); - * @brief Post-initialize actions made after CAN bus initialization and before the - * event loop connection. + * @brief Post-initialize actions made after CAN bus initialization * * @param[in] bus - A CanBus struct defining the bus's metadata * @param[in] writable - configure the controller in a writable mode. If false, it will be -- cgit 1.2.3-korg