c++ - How will the Windows C/Sleep() function operate during clock drift? -


If I run something like sleep (10000), and during that time the system clock changes, the thread for 10 seconds Will the sleeping wall clock time, or less or more? To wit. Converts milliseconds into hardware tics at sleep () function?

sleep () wall-clock time It is based on the same timer used for thread scheduling.

Due to the frequency of system hours and actually the timeout is passed.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -