Serial Communications Non-Blocking Read etc

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Serial Communications Non-Blocking Read etc

by Steven Henke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

What is the status of Cygwin under WinXP, non-blocking i/o reads from
/dev/ttyS0 or /dev/com1 type devices?

Writing to the serial port works but I can't get it to not block on
reads and forget about handling a sigaction SIGIO event.

Any ideas?

Cheers,

Steven Henke

P.S.
$ uname -r
1.5.25(0.156/4/2)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Re: Serial Communications Non-Blocking Read etc

by Larry Hall (Cygwin) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/04/2009 07:11 AM, Steven Henke wrote:
> Hello,
>
> What is the status of Cygwin under WinXP, non-blocking i/o reads from
> /dev/ttyS0 or /dev/com1 type devices?
>
> Writing to the serial port works but I can't get it to not block on
> reads and forget about handling a sigaction SIGIO event.
>
> Any ideas?

Does Cygwin 1.7 resolve the issue? <http://cygwin.com/#beta-test>

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple