And now it's going to stop very shortly, and when it stops, I want to start the timer.
现在会很慢的停下,当停下的时候,我开始计时。
A better approach is to start a timer, and have timer poke the event thread every so often to go look at the staging area for updates.
更好的方法是启动计时器,并且使计时器不时地提醒事件线程去查看中间区域,以寻找更新。
Start the timer: Use an actual timer — it’s too easy to “forget” to look at the clock.
开始倒计时:用一个专门的倒计时器——单单看钟很容易“遗忘”。
应用推荐