在xv6中,锁是通过一种叫自旋锁(spin lock)的机制实现的。 ... Mutual exclusion lock. struct spinlock { uint locked; // Is the lock held?
確定! 回上一頁