Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser need rumpuser_mutex_init_kmutex() these days
details: https://anonhg.NetBSD.org/src/rev/cf773376b945
branches: trunk
changeset: 782417:cf773376b945
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Nov 02 13:31:26 2012 +0000
description:
need rumpuser_mutex_init_kmutex() these days
diffstat:
lib/librumpuser/rumpuser_pth_dummy.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 87e18391bc8f -r cf773376b945 lib/librumpuser/rumpuser_pth_dummy.c
--- a/lib/librumpuser/rumpuser_pth_dummy.c Fri Nov 02 12:47:57 2012 +0000
+++ b/lib/librumpuser/rumpuser_pth_dummy.c Fri Nov 02 13:31:26 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_pth_dummy.c,v 1.3 2012/11/02 11:11:27 pooka Exp $ */
+/* $NetBSD: rumpuser_pth_dummy.c,v 1.4 2012/11/02 13:31:26 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.3 2012/11/02 11:11:27 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.4 2012/11/02 13:31:26 pooka Exp $");
#endif /* !lint */
#include <sys/time.h>
@@ -105,6 +105,13 @@
}
void
+rumpuser_mutex_init_kmutex(struct rumpuser_mtx **mtx)
+{
+
+ *mtx = calloc(1, sizeof(struct rumpuser_mtx));
+}
+
+void
rumpuser_mutex_enter(struct rumpuser_mtx *mtx)
{
Home |
Main Index |
Thread Index |
Old Index