[NFSIM] Implement msleep() better There's no point in actually sleeping in the nfsim framework, just increment time properly. Signed-off-by: Marcus Sundberg --- nfsim/kernelenv/include/kernelenv.h (revision 6395) +++ nfsim/kernelenv/include/kernelenv.h (working copy) @@ -1231,7 +1231,7 @@ /* delay.h */ -#define msleep(x) do{unsigned int y = (x)*1000; usleep(y);}while(0) +#define msleep(x) increment_time((x)*HZ/1000) /* timer.h */