Skip to content

Commit

Permalink
comment non-check of cp->killed
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed Aug 28, 2007
1 parent 8970df0 commit 2868ca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2868ca0

Please sign in to comment.