bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: term & user space console


From: Marcus Brinkmann
Subject: Re: term & user space console
Date: Mon, 28 Jan 2002 04:32:57 +0100
User-agent: Mutt/1.3.25i

On Tue, Dec 18, 2001 at 01:36:47PM -0800, Thomas Bushnell, BSG wrote:
> >   error_t (*assert_dtr) (void);
> 
> Turn on DTR.
> 
> >   void (*desert_dtr) (void);
> 
> Turn off DTR.

In the hurdio backend, what would be the appropriate behaviour respective to
blocking?  I am a bit confused about that because I try to take devio as an
example, but D_NOWAIT doesn't work as we would like it to work in Mach.

Should the underlying node be opened with O_NONBLOCK?   Should read/write
operations be performed in that mode as well, and DTR turned on/off along
with that?  This seems to be what the device code tries to do.

Is asynchronous I/O still necessary if we assume proper blocking behaviour
by the ioport?

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]