二、算法与程序之区别 程序可以不满足有限性的要求,例如:操作系统程序,除非关机,否则一直在等待循环 (wait loop)中等待下一个工作进入系统,所以只要系统是在运作下,则操作系统程序就不会终 止。
基于112个网页-相关网页
busy wait loop 忙等待循环
Essentially slowing them down by putting in a loop or wait interval.
通过加入一个循环或等待间隔减慢其传入消息的速度。
There are 64 iterations of this loop with a 15-minute wait between iterations.
这个循环有64次迭代,迭代之间间隔15分钟的等待时间。
Since you do not have to wait for a list to be generated (stop and go) or allocate a thread to processing the loop (pipelining), this can be the most efficient method.
由于您无需等待一个列表生成完毕(停止并前进)或者分配一个线程用于处理循环(并行管道),这可能是最有效率的方法了。
And we won't wait here one hundred seconds for it to finish, but we're using the loop, we're updating a variable, and we're formatting it in a nice way.
我们将不会再这里等待100秒来等它完成,但是我们使用循环,我们更新一个变量,我们把它排成一个漂亮的格式。
应用推荐