Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump Add prototype for wait operation varia...
details: https://anonhg.NetBSD.org/src/rev/d4e9fc821300
branches: trunk
changeset: 748162:d4e9fc821300
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Oct 15 00:33:37 2009 +0000
description:
Add prototype for wait operation variants which do not drop any
resources (because they should be holding any in the first place).
diffstat:
sys/rump/include/rump/rumpuser.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 2107f405b084 -r d4e9fc821300 sys/rump/include/rump/rumpuser.h
--- a/sys/rump/include/rump/rumpuser.h Thu Oct 15 00:32:11 2009 +0000
+++ b/sys/rump/include/rump/rumpuser.h Thu Oct 15 00:33:37 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser.h,v 1.28 2009/10/09 14:41:36 pooka Exp $ */
+/* $NetBSD: rumpuser.h,v 1.29 2009/10/15 00:33:37 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -120,6 +120,7 @@
void rumpuser_mutex_init(struct rumpuser_mtx **);
void rumpuser_mutex_recursive_init(struct rumpuser_mtx **);
void rumpuser_mutex_enter(struct rumpuser_mtx *);
+void rumpuser_mutex_enter_nowrap(struct rumpuser_mtx *);
int rumpuser_mutex_tryenter(struct rumpuser_mtx *);
void rumpuser_mutex_exit(struct rumpuser_mtx *);
void rumpuser_mutex_destroy(struct rumpuser_mtx *);
@@ -141,6 +142,7 @@
void rumpuser_cv_init(struct rumpuser_cv **);
void rumpuser_cv_destroy(struct rumpuser_cv *);
void rumpuser_cv_wait(struct rumpuser_cv *, struct rumpuser_mtx *);
+void rumpuser_cv_wait_nowrap(struct rumpuser_cv *, struct rumpuser_mtx *);
int rumpuser_cv_timedwait(struct rumpuser_cv *, struct rumpuser_mtx *,
struct timespec *);
void rumpuser_cv_signal(struct rumpuser_cv *);
Home |
Main Index |
Thread Index |
Old Index