Kaffe and HP-UX 10.20

Archie Cobbs archie at whistle.com
Thu Nov 12 13:59:25 PST 1998


James Mansion writes:
> > I wonder if this is simply a read/write operation returning EAGAIN?
> > In which case, we can simply "go back to sleep" on the operation.
> > 
> > A file descriptor marked for non-blocking can do this, although it
> > shouldn't if select() tells us the operation will succeed (ie, it
> > could be a HPUX O/S bug).
> 
> I don't believe that this is so.  Some other process (or thread in
> the same process) could have caused the kernel buffers to fill, for
> example.
> 
> The return from select() is not really more than a hint.

Good point.. in which case, EAGAIN should definitely be ignored
and the operation tried again later..

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list