如果锁不可用,线程将忙等待该锁,直到其可用为止。
If the lock is not available, the thread busy-waits on the lock until it is available.
对典型的忙等待锁算法进行详细的分析和比较,找到了这些算法的优点及其在使用上的限制,并对锁算法的选择进行了推荐。
Finally, by particular analyzing and comparing the typical busy-waiting lock algorithm, it finds out the merit and the discipline in use, and recommends the choice of lock algorithm.
为了让线程等待,我们只需将线程执行一个忙循环(自旋)。
To wait all we do is put the thread into a busy loop (a spin).
此外,需要记住的重要一点是所有操作都是在后台进行的,而无需忙时等待及根据浏览器中页面的典型更改进行刷新。
Again, the important thing to remember is that all of this takes place behind the scenes without the busy waiting and refreshing associated with a typical change of page in a browser.
可一操作,屏幕上出现的总是“请等待”,只好又打电话,得到的答复是上网的客人太多,线路忙,请过一会儿再试。
I did as the guide said, but all I got was a message on the screen saying "Please wait". Finally I rang reception again and was told that there were too many guests on line; try again later.
由于以下两个问题,忙- 等待 polling方法会对效率造成严重影响
The busy-wait polling method has a severe impact on the efficiency due to the following two problems
等一会儿忙起来时,这种舒缓感觉的回忆能提醒我停下来,等待可以再一次听到真相时的那种寂静。
When things get busy later, the memory of this vibration will serve as a reminder to stop and wait for the silence where the truth can be heard once again.
你就真的那么忙,没有一点时间和关心你的人,等待你的人在一起么?
Do you really so busy and not have little of time with the persons who concern about you, who are waiting for you?
我的经纪人已经开始忙和了,因为我在为河南而等待…不过我还不肯定!谢谢。
My manager start work now, because I wait for henan... I dont know yet! Thanks.
如果信道忙,就持续等待直到信道空闲时,便将数据送出。
If channel busy, continuing to wait until the idle channel, and put more information out.
如果信道忙,就持续等待直到信道空闲时,便将数据送出。
If channel busy, continuing to wait until the idle channel, and put more information out.
应用推荐