There are two obvious techniques for implementing blocking ; having the operating system suspend the thread until it is awakened later or using spin locks 实现阻塞有两种显而易见的技术,即让操作系统暂挂线程,直到线程被唤醒,或者使用旋转( spin )锁。
While spin locks are cpu - intensive and appear inefficient , they can be more efficient than suspending the thread and subsequently waking it up if the lock in question is held for a very short time 争夺的锁被持有的时间非常短,那么旋转锁要比暂挂线程然后再唤醒它更有效率。
Without information on what the distribution of lock times will be for a given application , most jvms are conservative and simply suspend a thread when it fails to acquire a lock 由于没有指定应用程序的锁定时间分布信息,所以多数jvm采取保守策略,在得不到锁的时候只是暂挂线程。
The article analyzes the traditional ways for modeling the turning point and the gradient , then puts forwards the better ways for it by using model to set down the direction in turning point and measuring in the midline , thus enhancing the efficiency 摘要分析了转点和坡度放样的传统方法,提出了采用模型放样折线洞中线、在洞中线挂线上量测长度进行坡度放样的简易方法,提高了工作的效率。
The paper on the basis of the study on the control of the changing slope curve paving in theory , through the study on the responses of the screed to different input signal in condition of the erected string , the controller of the transverse gradient and the floating beam on the spot experimentations , and through the analyzes the three paving design method in theory and the experimentation , on through the analyzes the three paying design method in theory and the experimentation data , provides some material solving measures to solve the changing slope curve paving 摘要根据弯道变坡摊铺控制特性的理论研究,在工程实际中采用挂线法、横坡控制器和浮动均衡梁进行了不同输入激励函数下熨平板响应的试验研究,并通过对这3种摊铺设计方法的理论和试验数据的分析,提出了解决弯道变坡摊铺的具体措施。