Elsa MicroLink 33.6TQV on HP-UX 10.20 with vgetty

Gert Doering (gert@greenie.muc.de)
Wed, 3 Dec 1997 22:26:33 +0100


Hi,

Umm wrote:
> On Wed, 3 Dec 1997, Gert Doering wrote:
> 
> > I dimly remember that we have seen this on some other platform as well.
> > It seems to be related to setting VTIME to something > 0.
> > 
> > At that time, we did not fix it, because nobody had time (and partly
> > because I think that's a bug -- select() should return if there is 
> > *DATA*, not "if a subsequent read() won't block" - but then, select() 
> > isn't standardized *that* well...)
> actually select returns if the program receives a signal.

Huh? That may be true, but isn't relevant here. There are no signals in
this game.

> That's why the mask should allways be checked.

Oh, it is, indirectly - the number of ready file descriptors is used to
decide whether to run into the timeout handler, or the "ah, there is
activity on the port, must be a RING" part.

gert

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-35655025    gert.doering@physik.tu-muenchen.de
.