| 53 | endpoint_manager_impl::~endpoint_manager_impl() { } |
| 54 | |
| 55 | void endpoint_manager_impl::start() { |
| 56 | options_thread_ = std::thread([this]() { |
| 57 | #if defined(__linux__) || defined(__QNX__) |
| 58 | pthread_setname_np(pthread_self(), "m_multicast"); |
| 59 | #endif |
| 60 | utility::set_thread_niceness(configuration_->get_io_thread_nice_level(router_->get_name())); |
| 61 | |
| 62 | VSOMEIP_INFO << "Started thread m_multicast " << std::hex << std::this_thread::get_id() |
| 63 | #if defined(__linux__) |
| 64 | << ", tid " << std::dec << static_cast<int>(syscall(SYS_gettid)) |
| 65 | #endif |
| 66 | ; |
| 67 | process_multicast_options(); |
| 68 | VSOMEIP_INFO << "Stopped thread m_multicast " << std::hex << std::this_thread::get_id() |
| 69 | #if defined(__linux__) |
| 70 | << ", tid " << std::dec << static_cast<int>(syscall(SYS_gettid)) |
| 71 | #endif |
| 72 | ; |
| 73 | }); |
| 74 | |
| 75 | auxiliary_context_.start(); |
| 76 | } |
| 77 | |
| 78 | void endpoint_manager_impl::stop() { |
| 79 | VSOMEIP_INFO_P << "called"; |
no test coverage detected