On the surface it looks as though lock elision allows us to write thread safe code without any synchronization penalty for using in cases where it really wasn't needed.
从表面上看,锁省略似乎可以允许我们不必忍受同步带来的负担,就可以编写线程安全的代码了,前提是在同步的确是多余的情况下。
High reserve requirements forced Banks to lock up much of the economy's savings in safe asset classes like government debt.
高准备金率则使银行必须以安全资产(比如国债)的形式持有大量储蓄。
In the case of this single threaded benchmark, it is quite safe for Hotspot to safely elide the lock.
在这个单线程化的基准测试中,Hotspot可以非常安全地将锁省略掉。
To make this safe, you need to have a mechanism to lock the service locator and make it read only.
为了安全,你需要用一种机制来锁定服务定位器并使之只读。
With a physical safe and a combination lock, the thieves would need nearly infinite patience and a nearly infinite life expectancy to work their way through the possibilities.
在实物保险箱及号码锁的安全措施之下,盗贼将需要近乎无限的耐心以及近乎无限的预期寿命,才能将各种排列组合的可能性从头到尾尝试一遍。
This situation is equivalent to having acquired the lock: when there is only a single thread, all object accesses are safe.
这种情况等同于已经获取了锁:只有一个线程的时候,所有的对象访问都是安全的。
It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock.
当前拥有全局解释器锁的线程(或其它什么)未知时,调用这个函数不安全。
Mum made up a safe place for me to go when he is having a tantrum - I go into her room and lock the door.
妈妈让我在Eric发脾气的时候去一个安全的地方---她的卧室,并把房门锁上。
There are multiple safe protectors: Overweight device, chain fracture device, trailing arm lock protect, device of the lock when it rised.
设有多重安全保护装置:超重装置,断链装置,托臂自锁保护,上升过程中的自锁装置。
A joystick allows the safe room occupant to lock and unlock doors throughout the house to trap an intruder.
控制杆可让安全密室里的人锁上或打开房子里的任何门,来捕捉入侵者。
Public places of entertainment must ensure safe exit and evacuation channel smoothly in the business, it is strictly prohibited to export safety lock, blocking.
公共娱乐场所在营业时必须确保安全出口和疏散通道畅通无阻,严禁将安全出口上锁、阻塞。
Most of these instructions are in place to check for the initialization of I, and to perform a thread-safe initialization using a lock.
这些指令大多数是为了检查i的初始化,以及使用锁执行线程安全的初始化。
There are multiple safe protectors: Overweight device, chain fracture device, device of the lock when it rised, there is a lock that stops the device on each post.
设有多重安全保护装置:超重装置,断链装置,上升过程中的自锁装置,每个立柱上均有锁止装置。
Safe, using standard five-bolt with three-link electronic lock cylinder made of stainless steel.
配置标准防盗五锁舌三连动电子不锈钢锁芯,安全可靠。
A knee joint lock is arranged on the knee joint to provide stability and safe feeling to patients when patients walk and sit.
在膝关节上设置了膝关节锁,使患者在行走与坐恣情况下均能有稳定与安全感。
We also provide you with intelligent room control system, the hotel dedicated safe, sauna lock, Card consumer systems and car park system and so on.
我们还为您提供智能客房控制系统、酒店专用保险箱、桑拿锁、一卡通消费系统及停车场系统等等。
Much like a cheap suitcase lock, DES will keep the contents safe from honest people, but it won't stop a determined thief.
就像一个廉价的行李箱锁,DES将从诚实的人保持安全的内容,但这不会阻止小偷决定的。
Before leaving job position in working or rest time, lock up the drawer and put the important articles in the safe place.
上班或休息时间离开工作岗位,锁好抽屉,放好重要物件;不要将钥匙挂在抽屉上。
This auto lift has breaking rope safety device, main safety location device and hydraulic lock, All these things guarantee safe and stable operation.
本机设有断绳保险机构和主保险定位机构及液压锁,保证使用安全,平衡可靠。
The stable and safe operation of the ammonia plant is severely affected by the air lock ammonia cooler.
合成氨装置氨冷器发生气阻,严重影响装置安全平稳运行。
Main products in company contain a lock of the computer safe-deposit box grogshop intelligence guest room system; a card is general used equipments and system.
公司主要产品有指纹门锁、指纹门禁、电脑门锁、保险箱、酒店智能客房系统、一卡通设备及系统。
Good fairy tale is a lock that keeps the children's invisible wings of imagination safe.
好的童话就像一把锁,能锁住孩子想象力的隐形翅膀。
Do not use volatile variables. Lock your object or fields instead to guarantee deterministic and thread-safe Access.
不要使用不稳定变量。锁定对象或域,而不是去保证决定性和线程安全访问。
Conclusion The operation with screwing-type bone nail with self-lock was simple, less time, little trauma, little bleeding, little complication and safe.
结论旋入式自锁髓内针较其它内固定材料操作简单,手术时间短,创伤小,出血少,并发症少且疗效可靠。
Then he would lock his own little office and set the proper light burning near the safe, after which he would take his departure.
然后,他锁上自己的小办公室,开亮保险柜旁的专用灯,这才离开。
"The safe is open," said a voice. "There is just the least little crack in it. The lock has not been sprung."
“保险柜是开的,”一个声音说。“就差那么一小条缝。锁还没锁上。”
The loading door, fuzz collector, pollutant drainage and button collector are equipped with pneumatic safe door-lock deice. Easy to operate.
装载门、绒毛收集器、蒸馏排污门、纽扣捕集器均配有气动安全门锁装置,轻松操作安全无忧。
Halting rope is a safe means of lock gates, which is simple, workable and reliable.
拦河索是一种简单易行、功能可靠的闸门安全设施。
It's controlled by microcomputer with touching panel and digital display. It's direct driven by brushless motor without pollution. The electronic lock lid is designed for safe operation.
产品说明微机控制,无刷电机驱动,数字显示,触摸面板,配有电子门锁,设有门盖自锁,超速等保护功能。
It's controlled by microcomputer with touching panel and digital display. It's direct driven by brushless motor without pollution. The electronic lock lid is designed for safe operation.
产品说明微机控制,无刷电机驱动,数字显示,触摸面板,配有电子门锁,设有门盖自锁,超速等保护功能。
应用推荐