]> Devi Nivas Git - cs3210-lab0.git/commitdiff
comment non-check of cp->killed
authorrsc <rsc>
Tue, 28 Aug 2007 03:32:49 +0000 (03:32 +0000)
committerrsc <rsc>
Tue, 28 Aug 2007 03:32:49 +0000 (03:32 +0000)
ide.c

diff --git a/ide.c b/ide.c
index aa8fe2958edda49e2d82b4faf9ddfe727f8afd01..f7681d253021e069f32c0f9862a4611b082c86bb 100644 (file)
--- a/ide.c
+++ b/ide.c
@@ -144,6 +144,7 @@ ide_rw(struct buf *b)
     ide_start_request(b);
   
   // Wait for request to finish.
+  // Assuming will not sleep too long: ignore cp->killed.
   while((b->flags & (B_VALID|B_DIRTY)) != B_VALID)
     sleep(b, &ide_lock);