Because of this, locks inside a loop are not coarsened to include the looping construct.
正因为这些原因,一个处于循环内部的锁是不会被粗化到包含整个循环体的。
To repeat a block of instructions, use the loop instruction or another looping construct.
对于想重复一段指令,可以使用loop指令或者其他循环指令。
This looping construct is used to iterate over the matches of a pattern in an enumerable collection such as a range expression, sequence, list, array, or other construct that supports enumeration.
此循环构造用于循环访问可枚举集合(例如,范围表达式、序列、列表、数组或其他支持枚举的构造)中的模式匹配项。
And those are two things that you'd like to do with every looping construct you write: you'd like to be able to assure yourself that they will always terminate, and then the second thing you'd like to do, is to assure yourself that it does give you back a reasonable answer.
就是现在我有了能去检查程序,是不是做了正确的操作的能力:,这就是你们在写每个循环程序的时候,都要注意的两个事情:,第一件事情是要确保程序可以终结,第二件你要做的事情,就是要确保程序返回了正确的答案。
应用推荐