#
67633 |
| 10-Aug-1994 |
mckusick |
a zero-valued timeout (which should poll and return) gets turned into a one-tick timeout, and (worse) the amount of time to sleep is not recomputed after each sleep. I.e., if the timeout is 10 sec,
a zero-valued timeout (which should poll and return) gets turned into a one-tick timeout, and (worse) the amount of time to sleep is not recomputed after each sleep. I.e., if the timeout is 10 sec, and select is incorrectly after 9 sec, it will go back to sleep for up to 10 sec. In fact, in the worst case it will never return. (from karels)
show more ...
|