Permalink
Browse files

Sleep for a ms amount instead of a us amount

  • Loading branch information...
1 parent dd2960f commit fb402d028046c2e233b9a85a83d650b106412fea @delroth delroth committed Apr 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/run.cc
View
@@ -101,7 +101,7 @@ static void wait_process(pid_t pid, size_t time_max, size_t mem_max)
exited = WIFEXITED(status) || WIFSIGNALED(status);
}
- usleep(SLEEP_TIME);
+ usleep(SLEEP_TIME * 1000);
time += SLEEP_TIME;
}
while (time_max > time && mem_max > mem && !exited);

0 comments on commit fb402d0

Please sign in to comment.