delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/15/19:23:08

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Nonblocking serial reads
15 Apr 1998 19:23:08 -0700 :
Message-ID: <199804160155.SAA02650.cygnus.cygwin32.developers@skaro.cygnus.com>
To: cygwin32-developers AT cygnus DOT com
Cc: noer AT cygnus DOT com (Geoffrey Noer), keiths AT cygnus DOT com (Keith Seitz)

I've been working on the problem of what should be non-blocking
serial I/O in GDB blocking, preventing GDB from receiving signals
when it should.  The culprit is the fhandler_serial class which
currently always blocks in reads/writes.

It looks like the solution has already been implemented in tty.cc (see
fhandler_tty_slave::read).  Where should this code actually be?  Could
we just make it more generic and then move it to fhandler_base?

-- 
Geoffrey Noer
noer AT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019