Guillem Jover skrev:
* interval is checked right before select. There was a corner case if
maxinterval was negative.

This one is actually not needed. maxinterval should never be negative,
that should be catched already by the previous timercmp.

It should indeed never be negative as you say. It doesn't hurt to move it closer to the actual select-call just in case someone messes up the code later. =)

Andreas Påhlsson
Xcerion

Reply via email to