If I have one thread blocked on a read on a serial port is there any way
software that another thread can force the first thread to unblock
having received anything on the serial port. I’ve tried tcinject but it
fails moaning about a inappropriate i/o operation…
What I need to do is just a one off ‘unblock’ or dummy write to the
serial port somehow such that read unblocks and continues thru the code.
This is a one off situation to cover where a remote terminal on one
serial port has died and another RT on another port wants to take over
the comms (i.e. I just remap the file descriptors for the new port).
This seems to work fine if I can just get the original blocked read to