Sleep throws error with non zero decimal fraction
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
On Win2008R2 sleep throws error in some cases:
C:>C:\gnuwin32\bin\sleep.exe 1
C:>C:\gnuwin32\bin\sleep.exe 1.0
C:>C:\gnuwin32\bin\sleep.exe 0.5
C:\gnuwin32\bin\sleep.exe: cannot read realtime clock: Invalid argument
C:>C:\gnuwin32\bin\sleep.exe 1.5
C:\gnuwin32\bin\sleep.exe: cannot read realtime clock: Invalid argument
C:>C:\gnuwin32\bin\sleep.exe 1.1
C:\gnuwin32\bin\sleep.exe: cannot read realtime clock: Invalid argument
C:>C:\gnuwin32\bin\sleep.exe 1.0
C:>
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I've found it only works under Windows when the fraction evaluates to an integral number of seconds:
Last edit: Anonymous 2018-10-12
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Last edit: Anonymous 2018-10-12