Comment 3 for bug 1406390

Revision history for this message
Frank Cizmich (frank-cizmich) wrote :

This looks like a race condition.

The code prior to the sleep statement is supposed to check that $next_interval is big enough, but that doesn't account for the nanoseconds that transpire after the loop is exited and before the sleep is executed.

Couldn't reproduce this but the flaw in the code seems clear enough.

Will fix.