Sleep Function Error In C

前端 未结 5 1265
眼角桃花
眼角桃花 2021-01-21 03:03

I have a file of data Dump, in with different timestamped data available, I get the time from timestamp and sleep my c thread for that time. But the problem is that The actual t

5条回答
  •  难免孤独
    2021-01-21 03:14

    Sleep function can take longer than requested, but never less. Use winapi timer functions to get one function called-back in a interval from now.

    You could also use the windows task scheduler, but that's going outside programmatic standalone options.

提交回复
热议问题