The recommended method is to use condition variables-that is, variables of type pthread_cond_t.
推荐的方法是使用条件变量—即pthread_cond _ t类型的变量。
OBJECTIVE: to change Chinese current irrational drugs use condition so as to promote rational drug use.
前言:目的:改变我国不合理用药现状,促进合理用药。
The different characteristic lubricating grease should be selected and used according to specific use condition of wire rope.
根据钢丝绳具体使用情况,应选用不同特性润滑脂。
His study shows that a diet high in white rice is associated with an increased risk of Type 2 diabetes, a serious health condition in which the body is unable to properly use sugar in the bloodstream.
VOA: standard.2010.06.25
So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.
所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。
应用推荐