2009-07-18 Jeff Lu <jll544@yahoo.com>
* mingwex/usleep.c: round up to next ms
This commit is contained in:
parent
b5fb6b0dc3
commit
52e4653d43
@ -1,3 +1,7 @@
|
||||
2009-07-18 Jeff Lu <jll544@yahoo.com>
|
||||
|
||||
* mingwex/usleep.c: round up to next ms
|
||||
|
||||
2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||
|
||||
* mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
|
||||
|
@ -34,7 +34,7 @@ int __cdecl usleep(useconds_t useconds)
|
||||
if(useconds >= 1000000)
|
||||
return EINVAL;
|
||||
|
||||
Sleep(useconds / 1000);
|
||||
Sleep((useconds + 999) / 1000);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user