I´m having some problems with mutithreads. When I use 1 process with 4 threads, where each thread READ one serial port, my app don´t work…
I need read 4 serial ports and each port must make logging. When some port doesn’t receive data for 33ms I need make another logging.
When I use the 4 qtalk process, just for read data and logging,it work, but when I use one process with 4 threads …I have problems
What is the best way to do it?
I´m using the readcond and timeout