Module Name: src Committed By: pooka Date: Tue Nov 6 18:31:14 UTC 2012
Modified Files: src/lib/librumpuser: rumpuser_pth_dummy.c Log Message: one more routine To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser_pth_dummy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/librumpuser/rumpuser_pth_dummy.c diff -u src/lib/librumpuser/rumpuser_pth_dummy.c:1.5 src/lib/librumpuser/rumpuser_pth_dummy.c:1.6 --- src/lib/librumpuser/rumpuser_pth_dummy.c:1.5 Fri Nov 2 16:55:02 2012 +++ src/lib/librumpuser/rumpuser_pth_dummy.c Tue Nov 6 18:31:14 2012 @@ -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 @@ rumpuser_mutex_enter(struct rumpuser_mtx mtx->o = curlwp; } +void +rumpuser_mutex_enter_nowrap(struct rumpuser_mtx *mtx) +{ + + rumpuser_mutex_enter(mtx); +} + int rumpuser_mutex_tryenter(struct rumpuser_mtx *mtx) {