Results 1 to 1 of 1
Hi,
I am using async read from seriall port in my CSerial object (c++).
I can hook the SIGIO to my handlerFunc() so when data available in the serial I ...
- 08-02-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
how to terminate async read from serial port?
Hi,
I am using async read from seriall port in my CSerial object (c++).
I can hook the SIGIO to my handlerFunc() so when data available in the serial I will read it.
I am also using the select() with timeout on the fd of the serial port to handle timeouts.
My probelm is that I want, in case of deleting my object, to notify the select to return immediatly and to cancell the pending read from serial. how it can be done?
Thanks.


Reply With Quote