From: Godmar Back (gback@cs.utah.edu)
Date: Fri Feb 12 1999 - 00:23:50 EST
Please try it now and see whether it works for you.
- Godmar
>
> 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
>
>
>
>
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:07 EDT