Re: EAGAIN

Date view Thread view Subject view Author view

From: Tim Wilkinson (tim@transvirtual.com)
Date: Thu Feb 11 1999 - 18:39:18 EST


I think so - can you set something in the alarm handler to flag the timeout
perhaps?

Tim

Godmar Back wrote:

> Note, though, that if Linux gives you spurious wakeups in this way,
> we can't implement timeouts at all with the simple check-wait-check-timeout
> scheme. Instead, we must record the timeout as an absolute value, and
> check everytime we return from read whether time has advanced far
> enough that it's time to time out.
>
> Maybe that's the more robust way of doing it anyway?
> Should I try that?
>
> - Godmar

--
  Tim Wilkinson                         Tel:     +1 510 704 1660
  Transvirtual Technologies, Inc.,      Fax:     +1 510 704 1893
  Berkeley, CA, USA.                    Email:   tim@transvirtual.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:06 EDT