Fix comment.
[pintos-anon] / src / threads / synch.c
index a892454c8e9adf186c8189173d46c635b15e13e4..10a7dad5d022f7a294e5cce95d0a3dfb1148be73 100644 (file)
@@ -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) 
 {