Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpuser one more routine



details:   https://anonhg.NetBSD.org/src/rev/f895fac30efd
branches:  trunk
changeset: 782563:f895fac30efd
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Nov 06 18:31:14 2012 +0000

description:
one more routine

diffstat:

 lib/librumpuser/rumpuser_pth_dummy.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r ae4dae0ced2e -r f895fac30efd lib/librumpuser/rumpuser_pth_dummy.c
--- a/lib/librumpuser/rumpuser_pth_dummy.c      Tue Nov 06 15:27:31 2012 +0000
+++ b/lib/librumpuser/rumpuser_pth_dummy.c      Tue Nov 06 18:31:14 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser_pth_dummy.c,v 1.5 2012/11/02 16:55:02 pooka Exp $     */
+/*     $NetBSD: rumpuser_pth_dummy.c,v 1.6 2012/11/06 18:31:14 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.5 2012/11/02 16:55:02 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.6 2012/11/06 18:31:14 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/time.h>
@@ -122,6 +122,13 @@
        mtx->o = curlwp;
 }
 
+void
+rumpuser_mutex_enter_nowrap(struct rumpuser_mtx *mtx)
+{
+
+       rumpuser_mutex_enter(mtx);
+}
+
 int
 rumpuser_mutex_tryenter(struct rumpuser_mtx *mtx)
 {



Home | Main Index | Thread Index | Old Index