EAGAIN

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Thu Feb 11 1999 - 18:19:31 EST


 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


Date view Thread view Subject view Author view

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