大家都搜:
类别锁
1、copulatory lock───JiaoPei锁
2、machine lock───机器锁
3、lock away───把…锁起来;藏起来;将…锁藏起来
4、hard lock───硬锁
5、child lock───儿童安全锁;儿童锁
6、lock lock───锁定
7、lock───n.锁;车锁;(机器部件等的)锁定;前轮转向角度;船闸;一缕头发;(并列争球的)第二排前锋;(对某物的)完全控制;(摔跤及武术用语)抱,夹;(交通)堵塞;完全转向;枪栓;毛撮;n.(Lock)(美)洛克(人名);v.(用锁)锁上;被锁住;把……锁起来;(使)固定;陷入;被紧紧抓住(或抱住);加锁;过船闸
8、cill lock───锡尔洛克
9、num lock───数字锁定键;小键盘开关
1、The application hangs because each thread owns a lock on one of the class loaders and wants the lock on the other class loader, as illustrated in the timeline diagram in Figure 2.───应用程序之所以挂起,是因为每个线程都拥有一个类装入器上的锁,并想得到另一个类装入器上的锁,如图2的时间线图所示。
2、Both threads will wait indefinitely for the lock on the other class loader, and so they become deadlocked.───两个线程都会无限期地等候另一个类装入器上的锁,所以它们就变成了死锁的。
3、This synchronized code block acquires the lock associated with the customer class object before it executes.───同步的代码块在执行之前需要与客户类对象相关的锁。