If you don't want to run 2 instances of your program, 1 per can bus channel, the Use multiple threads. One for the main program, and 1 thread per can bus channel.
https://www.geeksforgeeks.org/multithre ... hon-set-1/
https://www.geeksforgeeks.org/multithre ... hon-set-1/
Statistics: Posted by memjr — Wed Jun 26, 2024 3:20 am