From: Ben Pfaff Date: Fri, 31 Dec 2004 21:13:38 +0000 (+0000) Subject: Fix comment. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8992aa10e663aadc083e674b4f073d517df45c;p=pintos-anon Fix comment. --- diff --git a/src/threads/synch.c b/src/threads/synch.c index a892454..10a7dad 100644 --- a/src/threads/synch.c +++ b/src/threads/synch.c @@ -192,8 +192,8 @@ lock_acquire (struct lock *lock) /* Releases LOCK, which must be owned by the current thread. An interrupt handler cannot acquire a lock, so it does not - make sense to try to signal a condition variable within an - interrupt handler. */ + make sense to try to release a lock within an interrupt + handler. */ void lock_release (struct lock *lock) {