自旋锁
旋转锁
spin───n.旋转;疾驰;vt.使旋转;纺纱;编造;结网;vi.旋转;纺纱;吐丝;晕眩
lock lock───锁定
spin it───旋转它
lock───n.锁;车锁;(机器部件等的)锁定;前轮转向角度;船闸;一缕头发;(并列争球的)第二排前锋;(对某物的)完全控制;(摔跤及武术用语)抱,夹;(交通)堵塞;完全转向;枪栓;毛撮;n.(Lock)(美)洛克(人名);v.(用锁)锁上;被锁住;把……锁起来;(使)固定;陷入;被紧紧抓住(或抱住);加锁;过船闸
lydian spin───吕迪安旋转
spin master───旋转大师
unique spin───独特的旋转
spin doctor───起导向作用者;大话精;n.(善于公关、为政党出谋划策的)媒体顾问,舆论导向专家
spin kingpin───旋转主销
Spin locks work well in cases where lock durations are very short.───当锁被占有的时间很短时,自旋锁的效果非常好。
Yes folks, there is a pseudo-spin lock and call to Threading.Sleep in there.───是的,各位读者请注意,这里存在一个伪自循环锁(pseudo-spin lock),并调用了Threading.Sleep。
We decide that we will access the resource only while owning the spin lock.───我们将要访问的只有具有旋转锁的资源。
I want to be very clear about how a spin lock and a shared resource come to be associated.───我想要很清楚地(说明):一个旋转锁和一个共享资源是如何被关连在一起的。
First is the spin_lock and spin_unlock variant shown in Listing 6.───清单6中显示了spin_lock和spin_unlock变量。
The spin_lock_irqsave function acquires the spinlock and disables interrupts on the local processor (in the SMP case).───spin_lock_irqsave函数需要自旋锁,并且在本地处理器(在SMP情形中)上禁用中断。
selecttech dumbbells . If your budget is a factor you can purchase a standard size spin lock dumbbell set.───如果您的预算是其中一个因素,你可以购买一个标准尺寸的自旋锁哑铃内容。
To prevent chaos, we associate a spin lock with this " resource. "
To acquire a spin lock, code on one CPU executes an atomic operation that tests and then sets a memory variable in such a way that no other CPU can access the variable until the operation completes.
We decide that we will access the resource only while owning the spin lock.
It acquires the spin lock and begins its access.
Figure 4 - 3 illustrates the concept of using a spin lock.
Figure 4 - 3 . Using a spin lock to guard a shared resource.