Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/raidframe Pullup 1.4 [oster]:



details:   https://anonhg.NetBSD.org/src/rev/b3f99c0d7d93
branches:  netbsd-1-5
changeset: 489813:b3f99c0d7d93
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 20:09:30 2000 +0000

description:
Pullup 1.4 [oster]:
Be consistent: use mcpair->cond instead of mcpair->flag.
This also lets us clean up a bunch of cruft.

diffstat:

 sys/dev/raidframe/rf_mcpair.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r 46681c12a06b -r b3f99c0d7d93 sys/dev/raidframe/rf_mcpair.c
--- a/sys/dev/raidframe/rf_mcpair.c     Tue Oct 17 20:01:14 2000 +0000
+++ b/sys/dev/raidframe/rf_mcpair.c     Tue Oct 17 20:09:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_mcpair.c,v 1.3 1999/02/05 00:06:13 oster Exp $      */
+/*     $NetBSD: rf_mcpair.c,v 1.3.18.1 2000/10/17 20:09:30 tv Exp $    */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -135,13 +135,6 @@
 {
        RF_LOCK_MUTEX(mcpair->mutex);
        mcpair->flag = 1;
-#if 0
-       printf("MCPairWakeupFunc called!\n");
-#endif
-       wakeup(&(mcpair->flag));/* XXX Does this do anything useful!! GO */
-       /* XXX Looks like the following is needed to truly get the
-        * functionality they were looking for here... This could be a
-        * side-effect of my using a tsleep in the NetBSD port though... XXX */
-       wakeup(&(mcpair->cond));/* XXX XXX XXX GO */
+       wakeup(&(mcpair->cond));
        RF_UNLOCK_MUTEX(mcpair->mutex);
 }



Home | Main Index | Thread Index | Old Index