nit
This commit is contained in:
parent
8908cc9b15
commit
15b326b630
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue