I am pretty certain the the problem which is discussed in this thread
has already been reported in
http://sources.redhat.com/ml/cygwin/2003-03/msg01529.html
There is obviously an input buffer, which overflows if you keep an open
filedesc. on a serial port and let some external system generate in
Thank for answer.
I replace tcflush(fd,TCIFLUSH) by
do {
err = read(fd,iobuffer,1000)
} while(err>0)
and it work OK on Win98.
I still have problem on Windows2000Sp2.
It seem that it hangs in functions:
tcsetattr(fd,TCSANOW,&newtio);
read(fd,iobuffer,1000);
write(fd,iobuffer,10);
Strange thin
Sorry, my fingers aren't working. I keep accidentally replying to the
sender rather than/in addition to the list.
Cygwin's current tcflush implimentation is rather crude. Although, it may
not be possible to do any better. PTC.
if (queue == TCIFLUSH || queue == TCIOFLUSH)
/* Input flushin
3 matches
Mail list logo