wrong sequence of libserial received data
问题 I'm now working on a project which uses libserial for serial port communication under Ubuntu. we modified the libserial source code to allow MARK/SPACE parity. but when doing data receiving test, sometimes (about 5% chance) the incoming data sequence is wrong. The first byte can jump to the middle of the incoming buffer or even to the end. The problem is inside the original SerialPort::SerialPortImpl::HandlePosixSignal( int singnalNumber) f unction, when the error happens it can not read some