spin lock
發(fā)布時間:2025-08-22 | 來源:互聯(lián)網(wǎng)轉載和整理
網(wǎng)絡自旋鎖; 旋鎖; 旋轉鎖; 使旋轉鎖; 轉鎖
雙語例句
This can be initialized in place or through a call to spin_lock_init. 這可以通過調(diào)用spinlockinit進行初始化。
The classic spin lock technology is introduced to implement the mutually exclusive access to shared memory. 我們的目標程序使用自旋鎖機制來實現(xiàn)線程間對共享內(nèi)存的互斥訪問。
Spin locks work well in cases where lock durations are very short. 當鎖被占有的時間很短時,自旋鎖的效果非常好。
With adaptive spinning the duration of the spin is not fixed anymore, but determined by a policy based on previous spin attempts on the same lock and the state of the lock owner. 自適應意味著自旋的時間不再固定了,而是取決于一個基于前一次在同一個鎖上的自旋時間以及鎖的擁有者的狀態(tài)。
Second, new concurrent control protocol is proposed, based upon which recoverable spin lock technology is implemented. 其次,提出了新的并發(fā)控制協(xié)議,并在此基礎上實現(xiàn)了可恢復的自旋鎖技術。
上一篇:涼快的反義詞是什么