bug-hurd
[Top][All Lists]
Advanced

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

Re: term & user space console


From: Roland McGrath
Subject: Re: term & user space console
Date: Thu, 31 Jan 2002 14:39:51 -0500 (EST)

> Well, ok, so I can probably put this into the reader loop, but then I
> finally have to learn about interruptible RPCs, as I will have to interrupt
> a blocking read then. ;)

This is necessary for your plan to work at all.  The underlying file will
in fact be open as long as there is a pending RPC on it.  If you need to
close the underlying file (so you can block for carrier in reopening it),
then you have to cancel that RPC first.

> I can make such requests, but how do I find out that the carrier really has
> been established?  (Also, it would not allow servers to implement the open
> behaviour but not the tiocl bit mangling).

You were talking about setting the lines, not examining them.
For blocking until carrier goes up, you have to use the blocking open behavior.



reply via email to

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