![]() |
|
|
|
#1
|
||||
|
||||
|
On a determinate real-time operating system, it should return 1000 every single time without fail. Windows is not a determinate real-time operating system, so the value cannot be guaranteed. it's theoretically possible that the second call never occurs, and if/when it is called it could be at any priority level, with any number of other processes competing for CPU time at both higher and lower priorities.
Git |
![]() |
| Tags |
| sleep, time |
| Thread Tools | |
| Display Modes | |
|
|