
27 Aug
2009
27 Aug
'09
8:07 p.m.
Robert Dailey wrote:
In other words, a call to join() on that thread hangs indefinitely until data is received. My completion callback is not executed at all until data arrives for reading.
How can I force run() to return when I interrupt my thread?
Have you tried to close or cancel the serial port object? It should return your waiting handlers with an "operation interrupted" error code. Kind regards, Rutger