Commit 4e0ab7ad authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: avoid zero usleep

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent fcea82f3
......@@ -615,6 +615,7 @@ int main (int argc, char **argv)
if (deadline && now() + interval >= deadline)
break;
if (interval)
usleep(interval);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment