This is a small project showing how to use the Sleep API call from within your program to pause for a set period of time. Its much better than looping round as it uses very little CPU time (< 5%).
Sleepy Eyes这个小项目演示了如何在程序中使用 Sleep API 调用来暂停一定的时间。它比单纯的循环要好,因为它占用了非常少的CPU时间(< 5%).
来源: http://www.zarr.net/vb/download/codedetail.asp?code=41