On Thu, Jan 31, 2002 at 02:11:23PM -0500, Roland McGrath wrote: > > Do I use a third thread for assert_dtr? If I need to assert the dtr, the > > only strategy I can think of is to open in blocking mode. However, if I use > > synchronous RPC, this is better done in a seperate thread. I don't know how > > to assert the dtr otherwise. > > You don't need an additional thread, because you are never reading or > writing while keeping DTR low (you can't, since the way you keep DTR low is > to close the terminal).
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. ;) > But anyway, I think you can just control DTR directly like other modem > lines with TIOCM*. 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). Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd