提交 15b326b6 创建 作者: rsc's avatar rsc

nit

上级 8908cc9b
...@@ -38,8 +38,8 @@ getcallerpcs(void *v, uint pcs[]) ...@@ -38,8 +38,8 @@ getcallerpcs(void *v, uint pcs[])
// Acquire the lock. // Acquire the lock.
// Loops (spins) until the lock is acquired. // Loops (spins) until the lock is acquired.
// (Because contention is handled by spinning, must not // (Because contention is handled by spinning,
// go to sleep holding any locks.) // must not go to sleep holding any locks.)
void void
acquire(struct spinlock *lock) acquire(struct spinlock *lock)
{ {
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论