Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpvfs Broadcast instead of signal since t...
details: https://anonhg.NetBSD.org/src/rev/dc42f00a3a89
branches: trunk
changeset: 757584:dc42f00a3a89
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Sep 06 18:03:57 2010 +0000
description:
Broadcast instead of signal since the condition is a boolean.
diffstat:
sys/rump/librump/rumpvfs/rumpblk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fb7de6e1528d -r dc42f00a3a89 sys/rump/librump/rumpvfs/rumpblk.c
--- a/sys/rump/librump/rumpvfs/rumpblk.c Mon Sep 06 17:56:56 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rumpblk.c Mon Sep 06 18:03:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpblk.c,v 1.41 2010/06/21 14:25:35 pooka Exp $ */
+/* $NetBSD: rumpblk.c,v 1.42 2010/09/06 18:03:57 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpblk.c,v 1.41 2010/06/21 14:25:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpblk.c,v 1.42 2010/09/06 18:03:57 pooka Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -272,7 +272,7 @@
mutex_enter(&rblk->rblk_memmtx);
if (--win->win_refcnt == 0 && rblk->rblk_waiting) {
rblk->rblk_waiting = false;
- cv_signal(&rblk->rblk_memcv);
+ cv_broadcast(&rblk->rblk_memcv);
}
KASSERT(win->win_refcnt >= 0);
mutex_exit(&rblk->rblk_memmtx);
Home |
Main Index |
Thread Index |
Old Index